summaryrefslogtreecommitdiff
path: root/test/passes/nm.txt
blob: e34788c6d9ce925f4226e72a7683a83369d8e041 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    $a : 1
    $b : 5
    $c : 13
(module
 (type $0 (func))
 (memory $0 0)
 (func $a (; 0 ;) (type $0)
  (nop)
 )
 (func $b (; 1 ;) (type $0)
  (drop
   (loop $loop-in1 (result i32)
    (nop)
    (i32.const 1000)
   )
  )
 )
 (func $c (; 2 ;) (type $0)
  (block $top
   (nop)
   (drop
    (i32.const 1000)
   )
   (drop
    (i32.add
     (i32.add
      (i32.const 1001)
      (i32.const 1002)
     )
     (i32.add
      (i32.const 1003)
      (i32.const 1004)
     )
    )
   )
   (br $top)
  )
 )
)