summaryrefslogtreecommitdiff
path: root/test/passes/safe-heap_disable-simd.wast
blob: 6aa612230ebe30b7899148564c7714c8eda4eafc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(module
  (memory 1 1)
)
(module
  (import "env" "emscripten_get_sbrk_ptr" (func $foo (result i32)))
  (memory 1 1)
)
(module
  (memory 1 1)
  (export "emscripten_get_sbrk_ptr" (func $foo))
  (func $foo (result i32)
   (drop (i32.load (i32.const 0))) ;; should not be modified!
   (i32.const 1234)
  )
)