diff options
Diffstat (limited to 'test/parse/func')
20 files changed, 24 insertions, 24 deletions
diff --git a/test/parse/func/bad-func-name.txt b/test/parse/func/bad-func-name.txt index 2a124aeb..3e968f75 100644 --- a/test/parse/func/bad-func-name.txt +++ b/test/parse/func/bad-func-name.txt @@ -2,7 +2,7 @@ (module (func foo)) (;; STDERR ;;; -parse/func/bad-func-name.txt:3:9: unexpected token "foo" +out/test/parse/func/bad-func-name.txt:3:9: unexpected token "foo" (func foo)) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-binding-no-type.txt b/test/parse/func/bad-local-binding-no-type.txt index 94ad1d84..8762e7fd 100644 --- a/test/parse/func/bad-local-binding-no-type.txt +++ b/test/parse/func/bad-local-binding-no-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local $n))) (;; STDERR ;;; -parse/func/bad-local-binding-no-type.txt:2:24: syntax error, unexpected ), expecting VALUE_TYPE +out/test/parse/func/bad-local-binding-no-type.txt:2:24: syntax error, unexpected ), expecting VALUE_TYPE (module (func (local $n))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-binding.txt b/test/parse/func/bad-local-binding.txt index 657e4e91..93ed5491 100644 --- a/test/parse/func/bad-local-binding.txt +++ b/test/parse/func/bad-local-binding.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local $foo $bar))) (;; STDERR ;;; -parse/func/bad-local-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE +out/test/parse/func/bad-local-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE (module (func (local $foo $bar))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-name.txt b/test/parse/func/bad-local-name.txt index 0c50263d..5a80838a 100644 --- a/test/parse/func/bad-local-name.txt +++ b/test/parse/func/bad-local-name.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local 0 i32))) (;; STDERR ;;; -parse/func/bad-local-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE +out/test/parse/func/bad-local-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE (module (func (local 0 i32))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-type-list.txt b/test/parse/func/bad-local-type-list.txt index 4b9dee45..78b2906f 100644 --- a/test/parse/func/bad-local-type-list.txt +++ b/test/parse/func/bad-local-type-list.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local i32 i64 foo f32))) (;; STDERR ;;; -parse/func/bad-local-type-list.txt:2:30: unexpected token "foo" +out/test/parse/func/bad-local-type-list.txt:2:30: unexpected token "foo" (module (func (local i32 i64 foo f32))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-local-type.txt b/test/parse/func/bad-local-type.txt index a9889003..c453731a 100644 --- a/test/parse/func/bad-local-type.txt +++ b/test/parse/func/bad-local-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (local foo))) (;; STDERR ;;; -parse/func/bad-local-type.txt:2:22: unexpected token "foo" +out/test/parse/func/bad-local-type.txt:2:22: unexpected token "foo" (module (func (local foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-binding.txt b/test/parse/func/bad-param-binding.txt index 25366acc..30987aa2 100644 --- a/test/parse/func/bad-param-binding.txt +++ b/test/parse/func/bad-param-binding.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param $bar $baz))) (;; STDERR ;;; -parse/func/bad-param-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE +out/test/parse/func/bad-param-binding.txt:2:27: syntax error, unexpected VAR, expecting VALUE_TYPE (module (func (param $bar $baz))) ^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-name.txt b/test/parse/func/bad-param-name.txt index cd69a52a..23ad377a 100644 --- a/test/parse/func/bad-param-name.txt +++ b/test/parse/func/bad-param-name.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param 0 i32))) (;; STDERR ;;; -parse/func/bad-param-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE +out/test/parse/func/bad-param-name.txt:2:22: syntax error, unexpected NAT, expecting ) or VALUE_TYPE (module (func (param 0 i32))) ^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-redefinition.txt b/test/parse/func/bad-param-redefinition.txt index fac6de11..2816a23d 100644 --- a/test/parse/func/bad-param-redefinition.txt +++ b/test/parse/func/bad-param-redefinition.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param $n i32) (param $n f32))) (;; STDERR ;;; -parse/func/bad-param-redefinition.txt:2:31: redefinition of parameter "$n" +out/test/parse/func/bad-param-redefinition.txt:2:31: redefinition of parameter "$n" (module (func (param $n i32) (param $n f32))) ^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param-type-list.txt b/test/parse/func/bad-param-type-list.txt index bd829ba6..a76f2122 100644 --- a/test/parse/func/bad-param-type-list.txt +++ b/test/parse/func/bad-param-type-list.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param i32 i64 foo f32))) (;; STDERR ;;; -parse/func/bad-param-type-list.txt:2:30: unexpected token "foo" +out/test/parse/func/bad-param-type-list.txt:2:30: unexpected token "foo" (module (func (param i32 i64 foo f32))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-param.txt b/test/parse/func/bad-param.txt index 0f5f58e2..7f871d49 100644 --- a/test/parse/func/bad-param.txt +++ b/test/parse/func/bad-param.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (param foo))) (;; STDERR ;;; -parse/func/bad-param.txt:2:22: unexpected token "foo" +out/test/parse/func/bad-param.txt:2:22: unexpected token "foo" (module (func (param foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-result-multi.txt b/test/parse/func/bad-result-multi.txt index 1e69c74a..bd8db698 100644 --- a/test/parse/func/bad-result-multi.txt +++ b/test/parse/func/bad-result-multi.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (result i32 i64))) (;; STDERR ;;; -parse/func/bad-result-multi.txt:2:9: multiple result values not currently supported. +out/test/parse/func/bad-result-multi.txt:2:9: multiple result values not currently supported. (module (func (result i32 i64))) ^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-result-type.txt b/test/parse/func/bad-result-type.txt index 4a8f9034..957153f2 100644 --- a/test/parse/func/bad-result-type.txt +++ b/test/parse/func/bad-result-type.txt @@ -1,7 +1,7 @@ ;;; ERROR: 1 (module (func (result foo))) (;; STDERR ;;; -parse/func/bad-result-type.txt:2:23: unexpected token "foo" +out/test/parse/func/bad-result-type.txt:2:23: unexpected token "foo" (module (func (result foo))) ^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-param-type-mismatch.txt b/test/parse/func/bad-sig-param-type-mismatch.txt index df940ed9..09b9840a 100644 --- a/test/parse/func/bad-sig-param-type-mismatch.txt +++ b/test/parse/func/bad-sig-param-type-mismatch.txt @@ -3,7 +3,7 @@ (type $t (func (param i32 f32))) (func (type $t) (param f32 f32))) (;; STDERR ;;; -parse/func/bad-sig-param-type-mismatch.txt:4:3: type mismatch for argument 0 of function. got f32, expected i32 +out/test/parse/func/bad-sig-param-type-mismatch.txt:4:3: type mismatch for argument 0 of function. got f32, expected i32 (func (type $t) (param f32 f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-params-empty.txt b/test/parse/func/bad-sig-params-empty.txt index 15aae9b8..ab44bbe8 100644 --- a/test/parse/func/bad-sig-params-empty.txt +++ b/test/parse/func/bad-sig-params-empty.txt @@ -3,7 +3,7 @@ (type $t (func)) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-params-empty.txt:4:3: expected 0 arguments, got 1 +out/test/parse/func/bad-sig-params-empty.txt:4:3: expected 0 arguments, got 1 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-mismatch.txt b/test/parse/func/bad-sig-result-type-mismatch.txt index a679017f..d4c6dbdb 100644 --- a/test/parse/func/bad-sig-result-type-mismatch.txt +++ b/test/parse/func/bad-sig-result-type-mismatch.txt @@ -3,13 +3,13 @@ (type $t (func (param i32) (result f32))) (func (type $t) (param i32) (result i64))) (;; STDERR ;;; -parse/func/bad-sig-result-type-mismatch.txt:4:3: type mismatch for result 0 of function. got i64, expected f32 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type mismatch for result 0 of function. got i64, expected f32 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack size too small at function. got 0, expected at least 1 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack size too small at function. got 0, expected at least 1 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack at end of function is 0. expected 1 +out/test/parse/func/bad-sig-result-type-mismatch.txt:4:3: type stack at end of function is 0. expected 1 (func (type $t) (param i32) (result i64))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-not-void.txt b/test/parse/func/bad-sig-result-type-not-void.txt index 70943ab9..bc59176f 100644 --- a/test/parse/func/bad-sig-result-type-not-void.txt +++ b/test/parse/func/bad-sig-result-type-not-void.txt @@ -3,13 +3,13 @@ (type $t (func (param i32))) (func (type $t) (param i32) (result f32))) (;; STDERR ;;; -parse/func/bad-sig-result-type-not-void.txt:4:3: expected 0 results, got 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: expected 0 results, got 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-not-void.txt:4:3: type stack size too small at function. got 0, expected at least 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: type stack size too small at function. got 0, expected at least 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -parse/func/bad-sig-result-type-not-void.txt:4:3: type stack at end of function is 0. expected 1 +out/test/parse/func/bad-sig-result-type-not-void.txt:4:3: type stack at end of function is 0. expected 1 (func (type $t) (param i32) (result f32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-result-type-void.txt b/test/parse/func/bad-sig-result-type-void.txt index 8d46eea7..1ac5e67d 100644 --- a/test/parse/func/bad-sig-result-type-void.txt +++ b/test/parse/func/bad-sig-result-type-void.txt @@ -3,7 +3,7 @@ (type $t (func (param i32) (result f32))) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-result-type-void.txt:4:3: expected 1 results, got 0 +out/test/parse/func/bad-sig-result-type-void.txt:4:3: expected 1 results, got 0 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-too-few-params.txt b/test/parse/func/bad-sig-too-few-params.txt index 13997e55..1569a886 100644 --- a/test/parse/func/bad-sig-too-few-params.txt +++ b/test/parse/func/bad-sig-too-few-params.txt @@ -3,7 +3,7 @@ (type $t (func (param i32 f32))) (func (type $t) (param i32))) (;; STDERR ;;; -parse/func/bad-sig-too-few-params.txt:4:3: expected 2 arguments, got 1 +out/test/parse/func/bad-sig-too-few-params.txt:4:3: expected 2 arguments, got 1 (func (type $t) (param i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) diff --git a/test/parse/func/bad-sig-too-many-params.txt b/test/parse/func/bad-sig-too-many-params.txt index 84d40b86..04b6b39f 100644 --- a/test/parse/func/bad-sig-too-many-params.txt +++ b/test/parse/func/bad-sig-too-many-params.txt @@ -3,7 +3,7 @@ (type $t (func (param i32))) (func (type $t) (param i32 i32))) (;; STDERR ;;; -parse/func/bad-sig-too-many-params.txt:4:3: expected 1 arguments, got 2 +out/test/parse/func/bad-sig-too-many-params.txt:4:3: expected 1 arguments, got 2 (func (type $t) (param i32 i32))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ;;; STDERR ;;) |