summaryrefslogtreecommitdiff
path: root/test/spec/ref_as_non_null.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/ref_as_non_null.wast')
-rw-r--r--test/spec/ref_as_non_null.wast4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/spec/ref_as_non_null.wast b/test/spec/ref_as_non_null.wast
index 7e9417191..e597e7b9b 100644
--- a/test/spec/ref_as_non_null.wast
+++ b/test/spec/ref_as_non_null.wast
@@ -2,10 +2,10 @@
(type $t (func (result i32)))
(func $nn (param $r (ref $t)) (result i32)
- (call_ref (ref.as_non_null (local.get $r)))
+ (call_ref $t (ref.as_non_null (local.get $r)))
)
(func $n (param $r (ref null $t)) (result i32)
- (call_ref (ref.as_non_null (local.get $r)))
+ (call_ref $t (ref.as_non_null (local.get $r)))
)
(elem func $f)