summaryrefslogtreecommitdiff
path: root/test/passes/O4.wast
blob: 4db19e968a6837384d26f5a03a1626d7c6350819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(module
 (type $0 (func))
 (global $global$0 (mut i32) (i32.const 10))
 (export "func_59_invoker" (func $0))
 (func $0 (; 0 ;) (type $0)
  (if
   (block $label$1 (result i32)
    (global.set $global$0
     (i32.const 0)
    )
    (i32.const 127)
   )
   (unreachable)
  )
  (global.set $global$0
   (i32.const -1)
  )
  (if
   (global.get $global$0)
   (unreachable)
  )
  (unreachable)
 )
)