summaryrefslogtreecommitdiff
path: root/test/passes/safe-heap_disable-simd.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/safe-heap_disable-simd.wast')
-rw-r--r--test/passes/safe-heap_disable-simd.wast3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passes/safe-heap_disable-simd.wast b/test/passes/safe-heap_disable-simd.wast
index 1e15da0d1..bac91ed98 100644
--- a/test/passes/safe-heap_disable-simd.wast
+++ b/test/passes/safe-heap_disable-simd.wast
@@ -11,8 +11,9 @@
)
(module
(memory 1 1)
- (export "_emscripten_get_sbrk_ptr" (func $foo))
+ (export "emscripten_get_sbrk_ptr" (func $foo))
(func $foo (result i32)
+ (drop (i32.load (i32.const 0))) ;; should not be modified!
(i32.const 1234)
)
)