summaryrefslogtreecommitdiff
path: root/test/gc.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'test/gc.wast.fromBinary.noDebugInfo')
-rw-r--r--test/gc.wast.fromBinary.noDebugInfo9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/gc.wast.fromBinary.noDebugInfo b/test/gc.wast.fromBinary.noDebugInfo
index 9fd83ad04..d423e65ba 100644
--- a/test/gc.wast.fromBinary.noDebugInfo
+++ b/test/gc.wast.fromBinary.noDebugInfo
@@ -2,7 +2,7 @@
(type $none_=>_none (func))
(global $global$0 (mut anyref) (ref.null any))
(global $global$1 (mut eqref) (ref.null eq))
- (global $global$2 (mut i31ref) (i31.new
+ (global $global$2 (mut (ref null i31)) (i31.new
(i32.const 0)
))
(global $global$3 (mut anyref) (ref.null eq))
@@ -16,7 +16,7 @@
(local $0 i32)
(local $1 anyref)
(local $2 eqref)
- (local $3 i31ref)
+ (local $3 (ref null i31))
(local.set $1
(local.get $1)
)
@@ -148,5 +148,10 @@
)
)
)
+ (func $1
+ (local $0 (ref null i31))
+ (local $1 (ref null i31))
+ (nop)
+ )
)