summaryrefslogtreecommitdiff
path: root/test/polymorphic_stack.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/polymorphic_stack.wast')
-rw-r--r--test/polymorphic_stack.wast10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/polymorphic_stack.wast b/test/polymorphic_stack.wast
index 2241ab910..b618fbb6c 100644
--- a/test/polymorphic_stack.wast
+++ b/test/polymorphic_stack.wast
@@ -86,5 +86,15 @@
)
)
)
+ (func $br_table_unreachable_to_also_unreachable (result i32)
+ (block $a (result i32)
+ (block $b
+ (br_table $a $b ;; seems to send a value, but is not taken
+ (unreachable)
+ (unreachable)
+ )
+ )
+ )
+ )
)