summaryrefslogtreecommitdiff
path: root/test/spec/type.txt
blob: dd7df6079012641253d1226e93d63fe3de727628 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/type.wast
(;; STDOUT ;;;
out/test/spec/type.wast:44: assert_malformed passed:
  out/test/spec/type/type.1.wat:1:27: error: unexpected token "param", expected param or result.
  (type (func (result i32) (param i32)))
                            ^^^^^
out/test/spec/type.wast:48: assert_malformed passed:
  out/test/spec/type/type.2.wat:1:21: error: unexpected token $x, expected ).
  (type (func (result $x i32)))
                      ^^
3/3 tests passed.
;;; STDOUT ;;)