aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-27 14:44:04 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-12-27 14:44:04 -0700
commit6e9fbc83ca2cfe145d73a102e4175e49524d0dee (patch)
treeb5537977dcf8f72d270ca84740cef82b6596914d /test/behavior/array.zig
parentf4b067743f2ad25a1153153e3a89e0fe92837ea7 (diff)
downloadzig-6e9fbc83ca2cfe145d73a102e4175e49524d0dee.tar.gz
zig-6e9fbc83ca2cfe145d73a102e4175e49524d0dee.zip
add behavior test for comptime pointer casting
comptime `@ptrCast` a subset of an array, then write through it closes #2444
Diffstat (limited to 'test/behavior/array.zig')
-rw-r--r--test/behavior/array.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig
index 2f426bf5bf..52a4d7512a 100644
--- a/test/behavior/array.zig
+++ b/test/behavior/array.zig
@@ -61,6 +61,7 @@ test "array concat with undefined" {
}
test "array concat with tuple" {
+ if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO