diff options
Diffstat (limited to 'test/passes/merge-blocks.wast')
-rw-r--r-- | test/passes/merge-blocks.wast | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/passes/merge-blocks.wast b/test/passes/merge-blocks.wast index e998060c4..81b70d1b5 100644 --- a/test/passes/merge-blocks.wast +++ b/test/passes/merge-blocks.wast @@ -82,5 +82,24 @@ ) ) ) + (func $br-goes-away-label2-becomes-unreachable + (block + (drop + (block $label$1 (result i32) + (block $label$2 + (drop + (br_if $label$1 + (unreachable) + (i32.eqz + (br $label$2) + ) + ) + ) + ) + (i32.const 1) + ) + ) + ) + ) ) |