summaryrefslogtreecommitdiff
path: root/test/wasm2js/atomics_32.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/atomics_32.wast')
-rw-r--r--test/wasm2js/atomics_32.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/wasm2js/atomics_32.wast b/test/wasm2js/atomics_32.wast
index 73ec8f152..a4e19052d 100644
--- a/test/wasm2js/atomics_32.wast
+++ b/test/wasm2js/atomics_32.wast
@@ -16,7 +16,7 @@
(memory.init 0 (i32.const 512) (i32.const 0) (i32.const 4))
(memory.init 1 (i32.const 1024) (i32.const 4) (i32.const 2))
(local.set $x (memory.atomic.notify (i32.const 4) (i32.const 2)))
- (local.set $x (memory.atomic.notify offset=20 (i32.const 4) (i32.const 2)))
+ (local.set $x (memory.atomic.notify offset=20 (i32.const 4) (i32.const -1)))
(local.set $x (i32.atomic.rmw.add (i32.const 8) (i32.const 12)))
(local.set $x (i32.atomic.rmw.sub (i32.const 8) (i32.const 12)))
(local.set $x (i32.atomic.rmw.and (i32.const 8) (i32.const 12)))