summaryrefslogtreecommitdiff
path: root/test/heap-types.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r--test/heap-types.wast.fromBinary4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index 7c304a906..99637f92b 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -331,7 +331,7 @@
(drop
(block $label$1 (result (ref $struct.B))
(local.set $temp.A
- (br_on_cast $label$1 nullref (ref $struct.B)
+ (br_on_cast $label$1 $struct.B
(ref.null none)
)
)
@@ -341,7 +341,7 @@
(drop
(block $label$2 (result (ref null $struct.A))
(local.set $temp.B
- (br_on_cast_fail $label$2 nullref (ref $struct.B)
+ (br_on_cast_fail $label$2 $struct.B
(ref.null none)
)
)