aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/function_ptr_alignment.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-07-26 03:09:55 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2025-07-26 17:31:04 -0400
commit69abc945e45af3f447f9ee07d426d1ec40cf3f15 (patch)
tree457a9ee76f91135cf7a71192a09c317a63c05961 /test/cases/compile_errors/function_ptr_alignment.zig
parent1274254c48ee105623c513dfc01451fee2912c5b (diff)
downloadzig-69abc945e45af3f447f9ee07d426d1ec40cf3f15.tar.gz
zig-69abc945e45af3f447f9ee07d426d1ec40cf3f15.zip
aarch64: implement some safety checks
Closes #24553
Diffstat (limited to 'test/cases/compile_errors/function_ptr_alignment.zig')
-rw-r--r--test/cases/compile_errors/function_ptr_alignment.zig2
1 files changed, 1 insertions, 1 deletions
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'