summaryrefslogtreecommitdiff
path: root/test/passes/O1.txt
blob: 2d1e75d6e11d5468ff060f70f44ebdc25921dd6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(module
 (type $FUNCSIG$i (func (result i32)))
 (memory $0 1 1)
 (global $global$0 (mut i32) (i32.const 10))
 (export "foo" (func $0))
 (func $0 (; 0 ;) (type $FUNCSIG$i) (result i32)
  (global.set $global$0
   (i32.const 0)
  )
  (i32.load align=1
   (i32.const 4)
  )
 )
)