summaryrefslogtreecommitdiff
path: root/test/passes/merge-blocks_remove-unused-brs.txt
blob: 9cff81ecbf1d42eb4f99e2db25b8be56cd5783f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(module
 (type $0 (func (param i32)))
 (func $func (param $x i32)
  (loop $loop
   (block $out
    (block
     (br_if $out
      (local.get $x)
     )
     (nop)
     (br $loop)
    )
   )
  )
 )
)