summaryrefslogtreecommitdiff
path: root/test/spec/token.txt
blob: a93437220abcfbd187f74b26b46711d593350bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/token.wast
(;; STDOUT ;;;
out/test/spec/token.wast:4: assert_malformed passed:
  out/test/spec/token/token.0.wat:1:14: error: unexpected token "i32.const0", expected an expr.
  (func (drop (i32.const0)))
               ^^^^^^^^^^
out/test/spec/token.wast:8: assert_malformed passed:
  out/test/spec/token/token.1.wat:1:10: error: unexpected token "0drop", expected a numeric index or a name (e.g. 12 or $foo).
  (func br 0drop)
           ^^^^^
2/2 tests passed.
;;; STDOUT ;;)