diff options
Diffstat (limited to 'test/multivalue.wast.from-wast')
-rw-r--r-- | test/multivalue.wast.from-wast | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/multivalue.wast.from-wast b/test/multivalue.wast.from-wast index 293ec8cb0..a918979f5 100644 --- a/test/multivalue.wast.from-wast +++ b/test/multivalue.wast.from-wast @@ -5,6 +5,8 @@ (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_anyref (func (result i32 i64 anyref))) + (type $none_=>_i32_i64_nullref (func (result i32 i64 nullref))) (type $none_=>_f32 (func (result f32))) (import "env" "pair" (func $pair (result i32 i64))) (func $triple (; 1 ;) (result i32 i64 f32) @@ -117,16 +119,18 @@ ) ) ) - (func $mv-if (; 14 ;) (result i32 i64) - (if (result i32 i64) + (func $mv-if (; 14 ;) (result i32 i64 anyref) + (if (result i32 i64 nullref) (i32.const 1) (tuple.make (i32.const 42) (i64.const 42) + (ref.null) ) (tuple.make (i32.const 42) (i64.const 42) + (ref.null) ) ) ) |