summaryrefslogtreecommitdiff
path: root/test/passes/merge-blocks.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/merge-blocks.wast')
-rw-r--r--test/passes/merge-blocks.wast11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/passes/merge-blocks.wast b/test/passes/merge-blocks.wast
index 81b70d1b5..d73612735 100644
--- a/test/passes/merge-blocks.wast
+++ b/test/passes/merge-blocks.wast
@@ -101,5 +101,16 @@
)
)
)
+ (func $loop-block-drop-block-return
+ (loop $label$4
+ (block $label$5
+ (drop
+ (block $label$6 (result i32)
+ (return)
+ )
+ )
+ )
+ )
+ )
)