diff options
Diffstat (limited to 'test/spec/multi-value')
-rw-r--r-- | test/spec/multi-value/binary.txt | 3 | ||||
-rw-r--r-- | test/spec/multi-value/call.txt | 6 | ||||
-rw-r--r-- | test/spec/multi-value/call_indirect.txt | 6 | ||||
-rw-r--r-- | test/spec/multi-value/func.txt | 3 |
4 files changed, 12 insertions, 6 deletions
diff --git a/test/spec/multi-value/binary.txt b/test/spec/multi-value/binary.txt index 72ec581c..414c17d2 100644 --- a/test/spec/multi-value/binary.txt +++ b/test/spec/multi-value/binary.txt @@ -134,7 +134,8 @@ out/test/spec/multi-value/binary.wast:741: assert_malformed passed: error: invalid depth: 11 (max 2) 0000024: error: OnBrTableExpr callback failed out/test/spec/multi-value/binary.wast:763: assert_malformed passed: - 0000025: error: expected valid block signature type + error: function type variable out of range: 11 (max 1) + 0000025: error: OnBlockExpr callback failed out/test/spec/multi-value/binary.wast:798: assert_malformed passed: 0000017: error: multiple Start sections 67/67 tests passed. diff --git a/test/spec/multi-value/call.txt b/test/spec/multi-value/call.txt index 5ba88725..3a174823 100644 --- a/test/spec/multi-value/call.txt +++ b/test/spec/multi-value/call.txt @@ -52,8 +52,10 @@ out/test/spec/multi-value/call.wast:499: assert_invalid passed: error: type mismatch in call, expected [i32, i32] but got [i32] 0000025: error: OnCallExpr callback failed out/test/spec/multi-value/call.wast:512: assert_invalid passed: - 0000019: error: invalid call function index: 1 + 0000000: error: function variable out of range: 1 (max 1) + 0000019: error: OnCallExpr callback failed out/test/spec/multi-value/call.wast:516: assert_invalid passed: - 000001d: error: invalid call function index: 1012321300 + 0000000: error: function variable out of range: 1012321300 (max 1) + 000001d: error: OnCallExpr callback failed 90/90 tests passed. ;;; STDOUT ;;) diff --git a/test/spec/multi-value/call_indirect.txt b/test/spec/multi-value/call_indirect.txt index 6b2fc14d..c06216e8 100644 --- a/test/spec/multi-value/call_indirect.txt +++ b/test/spec/multi-value/call_indirect.txt @@ -138,9 +138,11 @@ out/test/spec/multi-value/call_indirect.wast:931: assert_invalid passed: error: type mismatch in call_indirect, expected [i32, i32] but got [i32] 000003d: error: OnCallIndirectExpr callback failed out/test/spec/multi-value/call_indirect.wast:951: assert_invalid passed: - 0000021: error: invalid call_indirect signature index + 0000000: error: function type variable out of range: 1 (max 1) + 0000022: error: OnCallIndirectExpr callback failed out/test/spec/multi-value/call_indirect.wast:958: assert_invalid passed: - 0000025: error: invalid call_indirect signature index + 0000000: error: function type variable out of range: 1012321300 (max 1) + 0000026: error: OnCallIndirectExpr callback failed out/test/spec/multi-value/call_indirect.wast:969: assert_invalid passed: 0000000: error: function variable out of range: 0 (max 0) 0000018: error: OnElemSegmentElemExpr_RefFunc callback failed diff --git a/test/spec/multi-value/func.txt b/test/spec/multi-value/func.txt index daa10fa7..7eae22a9 100644 --- a/test/spec/multi-value/func.txt +++ b/test/spec/multi-value/func.txt @@ -3,7 +3,8 @@ ;;; ARGS*: --enable-multi-value (;; STDOUT ;;; out/test/spec/multi-value/func.wast:436: assert_invalid passed: - 000001a: error: invalid function signature index: 2 + 0000000: error: function type variable out of range: 2 (max 2) + 000001a: error: OnFunction callback failed out/test/spec/multi-value/func.wast:520: assert_malformed passed: out/test/spec/multi-value/func/func.4.wat:1:76: error: unexpected token "param", expected an instr. ... i32) (result i32)))(func (type $sig) (result i32) (param i32) (i32.const 0)) |