summaryrefslogtreecommitdiff
path: root/test/spec/exception-handling/try_delegate.txt
blob: e1f5dd2ab41f731109892d7fd89fd29bfb4f5542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
;;; TOOL: run-interp-spec
;;; STDIN_FILE: third_party/testsuite/proposals/exception-handling/try_delegate.wast
;;; ARGS*: --enable-exceptions --enable-tail-call
(;; STDOUT ;;;
out/test/spec/exception-handling/try_delegate.wast:155: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:158: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:160: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:168: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:169: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:173: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:174: assert_exception passed
out/test/spec/exception-handling/try_delegate.wast:177: assert_malformed passed:
  out/test/spec/exception-handling/try_delegate/try_delegate.1.wat:1:16: error: unexpected token "delegate", expected an instr.
  (module (func (delegate 0)))
                 ^^^^^^^^
out/test/spec/exception-handling/try_delegate.wast:182: assert_malformed passed:
  out/test/spec/exception-handling/try_delegate/try_delegate.2.wat:1:46: error: unexpected token delegate, expected ).
  (module (tag $e) (func (try (do) (catch $e) (delegate 0))))
                                               ^^^^^^^^
out/test/spec/exception-handling/try_delegate.wast:187: assert_malformed passed:
  out/test/spec/exception-handling/try_delegate/try_delegate.3.wat:1:38: error: unexpected token delegate, expected ).
  (module (func (try (do) (catch_all) (delegate 0))))
                                       ^^^^^^^^
out/test/spec/exception-handling/try_delegate.wast:192: assert_malformed passed:
  out/test/spec/exception-handling/try_delegate/try_delegate.4.wat:1:34: error: unexpected token ")", expected a numeric index or a name (e.g. 12 or $foo).
  (module (func (try (do) (delegate) (delegate 0))))
                                   ^
out/test/spec/exception-handling/try_delegate.wast:197: assert_invalid passed:
  out/test/spec/exception-handling/try_delegate/try_delegate.5.wasm:000001b: error: invalid depth: 2 (max 1)
  000001b: error: OnDelegateExpr callback failed
23/23 tests passed.
;;; STDOUT ;;)