aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-03-19 00:56:37 +0200
committerVeikka Tuominen <git@vexu.eu>2022-03-19 11:20:38 +0200
commit1e1f74034773e441e689036ef90fd5a451a9f9d1 (patch)
treeb2f73773702cbe807a6a8ee261e5fd419ff089e2 /test/behavior/struct.zig
parent30e17cd5d0f3d3cfea689c25c870a378c4a9053b (diff)
downloadzig-1e1f74034773e441e689036ef90fd5a451a9f9d1.tar.gz
zig-1e1f74034773e441e689036ef90fd5a451a9f9d1.zip
AstGen: always add dbg_block_end before last instruction
Diffstat (limited to 'test/behavior/struct.zig')
-rw-r--r--test/behavior/struct.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index 53ebe423cf..8e0b66d07e 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -427,6 +427,7 @@ test "packed struct 24bits" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.cpu.arch == .wasm32) return error.SkipZigTest; // TODO
+ if (builtin.cpu.arch == .arm) return error.SkipZigTest; // TODO
comptime {
try expect(@sizeOf(Foo24Bits) == 4);
@@ -979,6 +980,7 @@ test "tuple assigned to variable" {
test "comptime struct field" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.stage2_arch == .arm) return error.SkipZigTest; // TODO
const T = struct {
a: i32,