diff options
Diffstat (limited to 'test/parse')
-rw-r--r-- | test/parse/expr/bad-block-sig-multi.txt | 24 | ||||
-rw-r--r-- | test/parse/expr/bad-if-sig-multi.txt | 31 | ||||
-rw-r--r-- | test/parse/expr/bad-loop-sig-multi.txt | 24 | ||||
-rw-r--r-- | test/parse/expr/bad-return-multi.txt | 11 | ||||
-rw-r--r-- | test/parse/expr/bad-try-sig-multi.txt | 31 | ||||
-rw-r--r-- | test/parse/expr/block-multi-named.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/block-multi.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/convert-sat-disabled.txt | 61 | ||||
-rw-r--r-- | test/parse/expr/convert-sat.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/if-multi-named.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/if-multi.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/loop-multi-named.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/loop-multi.txt | 1 | ||||
-rw-r--r-- | test/parse/expr/try-multi.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/unary-extend-disabled.txt | 40 | ||||
-rw-r--r-- | test/parse/expr/unary-extend.txt | 1 | ||||
-rw-r--r-- | test/parse/func/bad-result-multi.txt | 10 | ||||
-rw-r--r-- | test/parse/func/result-multi.txt | 1 |
18 files changed, 1 insertions, 242 deletions
diff --git a/test/parse/expr/bad-block-sig-multi.txt b/test/parse/expr/bad-block-sig-multi.txt deleted file mode 100644 index 7abe50a3..00000000 --- a/test/parse/expr/bad-block-sig-multi.txt +++ /dev/null @@ -1,24 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module - (func - block (result i32 i32) - i32.const 1 - i32.const 1 - end - drop - drop) - - (func - i32.const 1 - block (param i32) - drop - end)) -(;; STDERR ;;; -out/test/parse/expr/bad-block-sig-multi.txt:5:5: error: multiple result values not currently supported. - block (result i32 i32) - ^^^^^ -out/test/parse/expr/bad-block-sig-multi.txt:14:5: error: block params not currently supported. - block (param i32) - ^^^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/bad-if-sig-multi.txt b/test/parse/expr/bad-if-sig-multi.txt deleted file mode 100644 index 44cb713d..00000000 --- a/test/parse/expr/bad-if-sig-multi.txt +++ /dev/null @@ -1,31 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module - (func - i32.const 1 - if (result i32 i32) - i32.const 1 - i32.const 2 - else - i32.const 3 - i32.const 4 - end - drop - drop) - - (func - i32.const 1 - i32.const 2 - if (param i32) - drop - else - drop - end)) -(;; STDERR ;;; -out/test/parse/expr/bad-if-sig-multi.txt:6:5: error: multiple result values not currently supported. - if (result i32 i32) - ^^ -out/test/parse/expr/bad-if-sig-multi.txt:19:5: error: if params not currently supported. - if (param i32) - ^^ -;;; STDERR ;;) diff --git a/test/parse/expr/bad-loop-sig-multi.txt b/test/parse/expr/bad-loop-sig-multi.txt deleted file mode 100644 index 1b85f018..00000000 --- a/test/parse/expr/bad-loop-sig-multi.txt +++ /dev/null @@ -1,24 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module - (func - loop (result i32 i32) - i32.const 1 - i32.const 2 - end - drop - drop) - - (func - i32.const 0 - loop (param i32) - drop - end)) -(;; STDERR ;;; -out/test/parse/expr/bad-loop-sig-multi.txt:5:5: error: multiple result values not currently supported. - loop (result i32 i32) - ^^^^ -out/test/parse/expr/bad-loop-sig-multi.txt:14:5: error: loop params not currently supported. - loop (param i32) - ^^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/bad-return-multi.txt b/test/parse/expr/bad-return-multi.txt deleted file mode 100644 index 2a89701e..00000000 --- a/test/parse/expr/bad-return-multi.txt +++ /dev/null @@ -1,11 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module (func (result f32 f32) - f32.const 0 - f32.const 3.14 - return)) -(;; STDERR ;;; -out/test/parse/expr/bad-return-multi.txt:3:10: error: multiple result values not currently supported. -(module (func (result f32 f32) - ^^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/bad-try-sig-multi.txt b/test/parse/expr/bad-try-sig-multi.txt deleted file mode 100644 index c626b615..00000000 --- a/test/parse/expr/bad-try-sig-multi.txt +++ /dev/null @@ -1,31 +0,0 @@ -;;; TOOL: wat2wasm -;;; ARGS: --enable-exceptions -;;; ERROR: 1 -(module - (func - try (result i32 i32) - i32.const 1 - i32.const 2 - catch - drop ;; drop exnref - i32.const 3 - i32.const 4 - end - return) - - (func - i32.const 0 - try (param i32) - drop - catch - drop ;; drop exnref - end - return)) -(;; STDERR ;;; -out/test/parse/expr/bad-try-sig-multi.txt:6:5: error: multiple result values not currently supported. - try (result i32 i32) - ^^^ -out/test/parse/expr/bad-try-sig-multi.txt:18:5: error: try params not currently supported. - try (param i32) - ^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/block-multi-named.txt b/test/parse/expr/block-multi-named.txt index d5c6769e..16df39a3 100644 --- a/test/parse/expr/block-multi-named.txt +++ b/test/parse/expr/block-multi-named.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (type $v_v (func)) (type $v_ii (func (param i32 i32))) (type $ii_v (func (result i32 i32))) diff --git a/test/parse/expr/block-multi.txt b/test/parse/expr/block-multi.txt index 15649dca..44848b31 100644 --- a/test/parse/expr/block-multi.txt +++ b/test/parse/expr/block-multi.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (module ;; block w/ multiple results (func diff --git a/test/parse/expr/convert-sat-disabled.txt b/test/parse/expr/convert-sat-disabled.txt deleted file mode 100644 index 59a50084..00000000 --- a/test/parse/expr/convert-sat-disabled.txt +++ /dev/null @@ -1,61 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module - (func - f32.const 0 - i32.trunc_s:sat/f32 - drop - - f32.const 0 - i32.trunc_u:sat/f32 - drop - - f64.const 0 - i32.trunc_s:sat/f64 - drop - - f64.const 0 - i32.trunc_u:sat/f64 - drop - - f32.const 0 - i64.trunc_s:sat/f32 - drop - - f32.const 0 - i64.trunc_u:sat/f32 - drop - - f64.const 0 - i64.trunc_s:sat/f64 - drop - - f64.const 0 - i64.trunc_u:sat/f64 - drop)) -(;; STDERR ;;; -out/test/parse/expr/convert-sat-disabled.txt:6:5: error: opcode not allowed: i32.trunc_sat_f32_s - i32.trunc_s:sat/f32 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:10:5: error: opcode not allowed: i32.trunc_sat_f32_u - i32.trunc_u:sat/f32 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:14:5: error: opcode not allowed: i32.trunc_sat_f64_s - i32.trunc_s:sat/f64 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:18:5: error: opcode not allowed: i32.trunc_sat_f64_u - i32.trunc_u:sat/f64 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:22:5: error: opcode not allowed: i64.trunc_sat_f32_s - i64.trunc_s:sat/f32 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:26:5: error: opcode not allowed: i64.trunc_sat_f32_u - i64.trunc_u:sat/f32 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:30:5: error: opcode not allowed: i64.trunc_sat_f64_s - i64.trunc_s:sat/f64 - ^^^^^^^^^^^^^^^^^^^ -out/test/parse/expr/convert-sat-disabled.txt:34:5: error: opcode not allowed: i64.trunc_sat_f64_u - i64.trunc_u:sat/f64 - ^^^^^^^^^^^^^^^^^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/convert-sat.txt b/test/parse/expr/convert-sat.txt index 4e5d731f..2e134de2 100644 --- a/test/parse/expr/convert-sat.txt +++ b/test/parse/expr/convert-sat.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-saturating-float-to-int (module (func f32.const 0 diff --git a/test/parse/expr/if-multi-named.txt b/test/parse/expr/if-multi-named.txt index 1c0ca7be..169c96cd 100644 --- a/test/parse/expr/if-multi-named.txt +++ b/test/parse/expr/if-multi-named.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (type $v_v (func)) (type $v_ii (func (param i32 i32))) (type $ii_v (func (result i32 i32))) diff --git a/test/parse/expr/if-multi.txt b/test/parse/expr/if-multi.txt index d280c848..458fedd9 100644 --- a/test/parse/expr/if-multi.txt +++ b/test/parse/expr/if-multi.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (module ;; if w/ multiple results (func diff --git a/test/parse/expr/loop-multi-named.txt b/test/parse/expr/loop-multi-named.txt index 00679c67..a9be52d1 100644 --- a/test/parse/expr/loop-multi-named.txt +++ b/test/parse/expr/loop-multi-named.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (type $v_v (func)) (type $v_ii (func (param i32 i32))) (type $ii_v (func (result i32 i32))) diff --git a/test/parse/expr/loop-multi.txt b/test/parse/expr/loop-multi.txt index fdbbfa87..8fb343a9 100644 --- a/test/parse/expr/loop-multi.txt +++ b/test/parse/expr/loop-multi.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (module ;; loop w/ multiple results (func diff --git a/test/parse/expr/try-multi.txt b/test/parse/expr/try-multi.txt index 02342c52..387fff51 100644 --- a/test/parse/expr/try-multi.txt +++ b/test/parse/expr/try-multi.txt @@ -1,5 +1,5 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-exceptions --enable-multi-value +;;; ARGS: --enable-exceptions (module ;; try w/ multiple results (func diff --git a/test/parse/expr/unary-extend-disabled.txt b/test/parse/expr/unary-extend-disabled.txt deleted file mode 100644 index 2475127c..00000000 --- a/test/parse/expr/unary-extend-disabled.txt +++ /dev/null @@ -1,40 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module - (func - i32.const 0 - i32.extend8_s - drop - - i32.const 0 - i32.extend16_s - drop - - i64.const 0 - i64.extend8_s - drop - - i64.const 0 - i64.extend16_s - drop - - i64.const 0 - i64.extend32_s - drop)) -(;; STDERR ;;; -out/test/parse/expr/unary-extend-disabled.txt:6:5: error: opcode not allowed: i32.extend8_s - i32.extend8_s - ^^^^^^^^^^^^^ -out/test/parse/expr/unary-extend-disabled.txt:10:5: error: opcode not allowed: i32.extend16_s - i32.extend16_s - ^^^^^^^^^^^^^^ -out/test/parse/expr/unary-extend-disabled.txt:14:5: error: opcode not allowed: i64.extend8_s - i64.extend8_s - ^^^^^^^^^^^^^ -out/test/parse/expr/unary-extend-disabled.txt:18:5: error: opcode not allowed: i64.extend16_s - i64.extend16_s - ^^^^^^^^^^^^^^ -out/test/parse/expr/unary-extend-disabled.txt:22:5: error: opcode not allowed: i64.extend32_s - i64.extend32_s - ^^^^^^^^^^^^^^ -;;; STDERR ;;) diff --git a/test/parse/expr/unary-extend.txt b/test/parse/expr/unary-extend.txt index f68cc06e..0f483fcf 100644 --- a/test/parse/expr/unary-extend.txt +++ b/test/parse/expr/unary-extend.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-sign-extension (module (func i32.const 0 diff --git a/test/parse/func/bad-result-multi.txt b/test/parse/func/bad-result-multi.txt deleted file mode 100644 index 71479ac2..00000000 --- a/test/parse/func/bad-result-multi.txt +++ /dev/null @@ -1,10 +0,0 @@ -;;; TOOL: wat2wasm -;;; ERROR: 1 -(module (func (result i32 i64) - i32.const 0 - i64.const 0)) -(;; STDERR ;;; -out/test/parse/func/bad-result-multi.txt:3:10: error: multiple result values not currently supported. -(module (func (result i32 i64) - ^^^^ -;;; STDERR ;;) diff --git a/test/parse/func/result-multi.txt b/test/parse/func/result-multi.txt index c6a97adb..1c807c62 100644 --- a/test/parse/func/result-multi.txt +++ b/test/parse/func/result-multi.txt @@ -1,5 +1,4 @@ ;;; TOOL: wat2wasm -;;; ARGS: --enable-multi-value (module (func (result i32 i32) i32.const 0 |