diff options
Diffstat (limited to 'test/polymorphic_stack.wast.from-wast')
-rw-r--r-- | test/polymorphic_stack.wast.from-wast | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/polymorphic_stack.wast.from-wast b/test/polymorphic_stack.wast.from-wast index c20f9218d..82f88f4af 100644 --- a/test/polymorphic_stack.wast.from-wast +++ b/test/polymorphic_stack.wast.from-wast @@ -90,6 +90,21 @@ ) ) ) + (func $unreachable-in-block-but-code-before (type $FUNCSIG$ii) (param $0 i32) (result i32) + (if + (get_local $0) + (return + (i32.const 127) + ) + ) + (block $label$0 (result i32) + (br_if $label$0 + (return + (i32.const -32) + ) + ) + ) + ) (func $br_table_unreachable_to_also_unreachable (type $1) (result i32) (block $a (result i32) (block $b |