summaryrefslogtreecommitdiff
path: root/test/passes/duplicate-function-elimination_all-features.txt
blob: aa234da67cec05d131a24cde8367e66d0adec5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(module
 (type $none_=>_i32 (func (result i32)))
 (type $none_=>_funcref (func (result funcref)))
 (func $0 (result i32)
  (i32.const 0)
 )
 (func $test (result funcref)
  (ref.func $0)
 )
)
(module
 (type $none_=>_none (func))
 (memory $foo 16 16)
 (global $bar i32 (i32.const 0))
 (export "memory" (memory $foo))
 (export "global" (global $bar))
 (func $bar
  (nop)
 )
)