From 69abc945e45af3f447f9ee07d426d1ec40cf3f15 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Sat, 26 Jul 2025 03:09:55 -0400 Subject: aarch64: implement some safety checks Closes #24553 --- test/cases/compile_errors/function_ptr_alignment.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cases/compile_errors/function_ptr_alignment.zig') diff --git a/test/cases/compile_errors/function_ptr_alignment.zig b/test/cases/compile_errors/function_ptr_alignment.zig index cf97e61f40..fd8aec06d0 100644 --- a/test/cases/compile_errors/function_ptr_alignment.zig +++ b/test/cases/compile_errors/function_ptr_alignment.zig @@ -10,7 +10,7 @@ comptime { // error // backend=stage2 -// target=native +// target=x86_64-linux // // :8:41: error: expected type '*align(2) const fn () void', found '*const fn () void' // :8:41: note: pointer alignment '1' cannot cast into pointer alignment '2' -- cgit v1.2.3