diff options
Diffstat (limited to 'test/passes/code-folding.txt')
-rw-r--r-- | test/passes/code-folding.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/passes/code-folding.txt b/test/passes/code-folding.txt index e11999ac8..33b5da6a7 100644 --- a/test/passes/code-folding.txt +++ b/test/passes/code-folding.txt @@ -106,4 +106,20 @@ ) (return) ) + (func $leave-inner-block-type (; 6 ;) (type $1) + (block $label$1 + (drop + (block $label$2 (result i32) + (br_if $label$2 + (unreachable) + (unreachable) + ) + (br $label$1) + ) + ) + ) + (drop + (i32.const 1) + ) + ) ) |