summaryrefslogtreecommitdiff
path: root/test/passes/flatten-control-flow.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/flatten-control-flow.wast')
-rw-r--r--test/passes/flatten-control-flow.wast7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/passes/flatten-control-flow.wast b/test/passes/flatten-control-flow.wast
index 69f3146c0..97ecf74c7 100644
--- a/test/passes/flatten-control-flow.wast
+++ b/test/passes/flatten-control-flow.wast
@@ -773,4 +773,11 @@
(i32.const 1)
)
)
+ (func $switch-unreachable
+ (block $label$3
+ (br_table $label$3
+ (unreachable)
+ )
+ )
+ )
)