summaryrefslogtreecommitdiff
path: root/test/ctor-eval
diff options
context:
space:
mode:
Diffstat (limited to 'test/ctor-eval')
-rw-r--r--test/ctor-eval/gc-2.wast3
-rw-r--r--test/ctor-eval/gc-2.wast.out2
2 files changed, 2 insertions, 3 deletions
diff --git a/test/ctor-eval/gc-2.wast b/test/ctor-eval/gc-2.wast
index 6a21be99e..62c21c5bf 100644
--- a/test/ctor-eval/gc-2.wast
+++ b/test/ctor-eval/gc-2.wast
@@ -38,7 +38,7 @@
(func "keepalive" (result i32)
(select
(struct.get $struct 0
- (ref.cast null $struct
+ (ref.cast $struct
(global.get $global1)
)
)
@@ -51,4 +51,3 @@
)
)
)
-
diff --git a/test/ctor-eval/gc-2.wast.out b/test/ctor-eval/gc-2.wast.out
index a333cdf30..6675d9929 100644
--- a/test/ctor-eval/gc-2.wast.out
+++ b/test/ctor-eval/gc-2.wast.out
@@ -14,7 +14,7 @@
(func $1 (type $none_=>_i32) (result i32)
(select
(struct.get $struct 0
- (ref.cast null $struct
+ (ref.cast $struct
(global.get $global1)
)
)