add behavior test for comptime pointer casting

comptime `@ptrCast` a subset of an array, then write through it

closes #2444
This commit is contained in:
Andrew Kelley
2022-12-27 14:44:04 -07:00
parent f4b067743f
commit 6e9fbc83ca
3 changed files with 15 additions and 0 deletions

View File

@@ -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