diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-20 18:24:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-20 18:24:01 -0500 |
| commit | c9ae24503dc8da2e59f46619695bf4eb863fb3ac (patch) | |
| tree | d55084efed19c32fbccb0c96959940796a1d0c43 /test/behavior/array_llvm.zig | |
| parent | f763000dc918c2367ebc181645eb48db896205d8 (diff) | |
| parent | 1f823eecdd071f619c761a743119f1a2a89af1bf (diff) | |
| download | zig-c9ae24503dc8da2e59f46619695bf4eb863fb3ac.tar.gz zig-c9ae24503dc8da2e59f46619695bf4eb863fb3ac.zip | |
Merge pull request #10649 from ziglang/stage2-tuples
stage2: implement tuples
Diffstat (limited to 'test/behavior/array_llvm.zig')
| -rw-r--r-- | test/behavior/array_llvm.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/array_llvm.zig b/test/behavior/array_llvm.zig index e74c0ea443..5be5974fff 100644 --- a/test/behavior/array_llvm.zig +++ b/test/behavior/array_llvm.zig @@ -237,8 +237,6 @@ test "zero-sized array with recursive type definition" { } test "type coercion of anon struct literal to array" { - if (@import("builtin").zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO - const S = struct { const U = union { a: u32, @@ -254,6 +252,8 @@ test "type coercion of anon struct literal to array" { try expect(arr1[1] == 56); try expect(arr1[2] == 54); + if (@import("builtin").zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO + var x2: U = .{ .a = 42 }; const t2 = .{ x2, .{ .b = true }, .{ .c = "hello" } }; var arr2: [3]U = t2; |
