diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-03-19 20:53:39 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-03-19 20:56:04 +0100 |
| commit | 2fc91a09a2bcefdd2af2370cf6d24bc23e186425 (patch) | |
| tree | f349e0381421dbf895b391433f79cf8b6290ff19 /test/behavior/slice.zig | |
| parent | 56590218c5054fd5f4076916fd247213a00d5105 (diff) | |
| download | zig-2fc91a09a2bcefdd2af2370cf6d24bc23e186425.tar.gz zig-2fc91a09a2bcefdd2af2370cf6d24bc23e186425.zip | |
wasm: Enable passing tests
This enables the tests that now pass due to the changes to lower
parent pointers are lowered, as well as the additional features to unions.
Diffstat (limited to 'test/behavior/slice.zig')
| -rw-r--r-- | test/behavior/slice.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index f598bccee1..9177ba96ad 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -188,7 +188,6 @@ const y = x[0x100..]; test "compile time slice of pointer to hard coded address" { if (builtin.zig_backend == .stage1) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; try expect(@ptrToInt(x) == 0x1000); try expect(x.len == 0x500); @@ -496,7 +495,6 @@ test "slice syntax resulting in pointer-to-array" { } test "type coercion of pointer to anon struct literal to pointer to slice" { - if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO 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_aarch64) return error.SkipZigTest; // TODO |
