summaryrefslogtreecommitdiff
path: root/test/wasm2js/deterministic.wast
blob: d1f39ba06467640fdd2ecb92945a20095c6c78e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(module
 (global $global$0 (mut i32) (i32.const -44))
 (import "env" "memory" (memory $0 1 1))
 (func "foo" (result i32)
  (if
   (i32.div_u
    (global.get $global$0)
    (i32.load (i32.const 0))
   )
   (unreachable)
  )
  (i32.const 1)
 )
)