diff options
Diffstat (limited to 'test/passes/remove-unused-names_merge-blocks.wast')
-rw-r--r-- | test/passes/remove-unused-names_merge-blocks.wast | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/passes/remove-unused-names_merge-blocks.wast b/test/passes/remove-unused-names_merge-blocks.wast index bf1dc1fda..6f6dd92b9 100644 --- a/test/passes/remove-unused-names_merge-blocks.wast +++ b/test/passes/remove-unused-names_merge-blocks.wast @@ -1081,5 +1081,17 @@ ) ) ) + (func $remove-br-after-unreachable + (block $label$9 + (drop + (block + (block + (return) + (br $label$9) ;; removing this leads to the block becoming unreachable + ) + ) + ) + ) + ) ) |