diff options
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r-- | test/heap-types.wast.fromBinary | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary index 80c91d2fe..d8ddb48ed 100644 --- a/test/heap-types.wast.fromBinary +++ b/test/heap-types.wast.fromBinary @@ -242,10 +242,18 @@ ) (func $br_on_X (param $x anyref) (local $y anyref) + (local $z anyref) + (block $label$1 + (local.set $z + (br_on_null $label$1 + (local.get $x) + ) + ) + ) (drop - (block $label$1 (result funcref) + (block $label$2 (result funcref) (local.set $y - (br_on_func $label$1 + (br_on_func $label$2 (local.get $x) ) ) @@ -253,9 +261,9 @@ ) ) (drop - (block $label$2 (result (ref null data)) + (block $label$3 (result (ref null data)) (local.set $y - (br_on_data $label$2 + (br_on_data $label$3 (local.get $x) ) ) @@ -263,9 +271,9 @@ ) ) (drop - (block $label$3 (result (ref null i31)) + (block $label$4 (result (ref null i31)) (local.set $y - (br_on_i31 $label$3 + (br_on_i31 $label$4 (local.get $x) ) ) |