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