diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-17 18:10:02 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-18 09:14:15 +0100 |
| commit | 97c25fb8d049ebcced9f29241516c51e480fb8a0 (patch) | |
| tree | e86b505de42686b87a05959abbf624f9682fbc7a /test/behavior/array.zig | |
| parent | abfaf8382b58d8bdfa029b74205d385cbc73d78e (diff) | |
| download | zig-97c25fb8d049ebcced9f29241516c51e480fb8a0.tar.gz zig-97c25fb8d049ebcced9f29241516c51e480fb8a0.zip | |
x64: implement array_elem_val when array is stored in memory
Diffstat (limited to 'test/behavior/array.zig')
| -rw-r--r-- | test/behavior/array.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig index b4a4c37d95..ba478fef93 100644 --- a/test/behavior/array.zig +++ b/test/behavior/array.zig @@ -153,7 +153,7 @@ test "void arrays" { test "nested arrays" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_x86_64 or builtin.zig_backend == .stage2_arm) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; const array_of_strings = [_][]const u8{ "hello", "this", "is", "my", "thing" }; for (array_of_strings) |s, i| { @@ -525,8 +525,8 @@ test "zero-sized array with recursive type definition" { test "type coercion of anon struct literal to array" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO const S = struct { const U = union { @@ -543,8 +543,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 - if (@import("builtin").zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO var x2: U = .{ .a = 42 }; const t2 = .{ x2, .{ .b = true }, .{ .c = "hello" } }; |
