diff options
Diffstat (limited to 'test/spec/br_on_null.wast')
-rw-r--r-- | test/spec/br_on_null.wast | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/spec/br_on_null.wast b/test/spec/br_on_null.wast index 8e0a8591f..e3c45ece7 100644 --- a/test/spec/br_on_null.wast +++ b/test/spec/br_on_null.wast @@ -3,13 +3,13 @@ (func $nn (param $r (ref $t)) (result i32) (block $l - (return (call_ref (br_on_null $l (local.get $r)))) + (return (call_ref $t (br_on_null $l (local.get $r)))) ) (i32.const -1) ) (func $n (param $r (ref null $t)) (result i32) (block $l - (return (call_ref (br_on_null $l (local.get $r)))) + (return (call_ref $t (br_on_null $l (local.get $r)))) ) (i32.const -1) ) @@ -22,7 +22,7 @@ (func (export "unreachable") (result i32) (block $l - (return (call_ref (br_on_null $l (unreachable)))) + (return (call_ref $t (br_on_null $l (unreachable)))) ) (i32.const -1) ) @@ -49,7 +49,7 @@ (func $nn (param $r (ref $t)) (result i32) (block $l (ref null $t) ;; br_on_null sends no value; a br to here is bad - (return (call_ref (br_on_null $l (local.get $r)))) + (return (call_ref $t (br_on_null $l (local.get $r)))) ) (i32.const -1) ) |