aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-03-06 20:44:51 +0100
committerGitHub <noreply@github.com>2022-03-06 20:44:51 +0100
commit27c084065abcc404b7f58562f802999ae3ebce10 (patch)
tree3979a57d5ed16c8dc76534e43fbcddf373c4e2db /test/behavior/slice.zig
parent9154a8606996ce34e5f1d805672c83e2b733f5a7 (diff)
parent13fca53b925e7de00b63efbf6ac3723a4df732a8 (diff)
downloadzig-27c084065abcc404b7f58562f802999ae3ebce10.tar.gz
zig-27c084065abcc404b7f58562f802999ae3ebce10.zip
Merge pull request #11070 from Luukdegram/wasm-unify
stage2: wasm - unify codegen with other backends
Diffstat (limited to 'test/behavior/slice.zig')
-rw-r--r--test/behavior/slice.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig
index edb14e7f61..740eaefc90 100644
--- a/test/behavior/slice.zig
+++ b/test/behavior/slice.zig
@@ -209,6 +209,7 @@ test "compile time slice of pointer to hard coded address" {
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) 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);