summaryrefslogtreecommitdiff
path: root/test/reference-types.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/reference-types.wast.fromBinary')
-rw-r--r--test/reference-types.wast.fromBinary4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reference-types.wast.fromBinary b/test/reference-types.wast.fromBinary
index 637a1d2c9..0ce71eb38 100644
--- a/test/reference-types.wast.fromBinary
+++ b/test/reference-types.wast.fromBinary
@@ -405,7 +405,7 @@
(drop
(if (result anyref)
(i32.const 1)
- (i31.new
+ (ref.i31
(i32.const 0)
)
(ref.null none)
@@ -487,7 +487,7 @@
(drop
(select (result anyref)
(local.get $local_eqref)
- (i31.new
+ (ref.i31
(i32.const 0)
)
(i32.const 1)