summaryrefslogtreecommitdiff
path: root/test/multivalue.wast.from-wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/multivalue.wast.from-wast')
-rw-r--r--test/multivalue.wast.from-wast9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/multivalue.wast.from-wast b/test/multivalue.wast.from-wast
index db0a4b2d0..64449925c 100644
--- a/test/multivalue.wast.from-wast
+++ b/test/multivalue.wast.from-wast
@@ -1,12 +1,11 @@
(module
(type $none_=>_i32_i64 (func (result i32 i64)))
(type $none_=>_none (func))
+ (type $none_=>_i32_i64_externref (func (result i32 i64 externref)))
(type $none_=>_i64 (func (result i64)))
(type $none_=>_f32_i64_i32 (func (result f32 i64 i32)))
(type $none_=>_i32 (func (result i32)))
(type $none_=>_i32_i64_f32 (func (result i32 i64 f32)))
- (type $none_=>_i32_i64_externref (func (result i32 i64 externref)))
- (type $none_=>_i32_i64_nullref (func (result i32 i64 nullref)))
(type $none_=>_f32 (func (result f32)))
(import "env" "pair" (func $pair (result i32 i64)))
(global $g1 (mut (i32 i64)) (tuple.make
@@ -137,17 +136,17 @@
)
)
(func $mv-if (result i32 i64 externref)
- (if (result i32 i64 nullref)
+ (if (result i32 i64 externref)
(i32.const 1)
(tuple.make
(i32.const 42)
(i64.const 42)
- (ref.null)
+ (ref.null extern)
)
(tuple.make
(i32.const 42)
(i64.const 42)
- (ref.null)
+ (ref.null extern)
)
)
)