diff options
Diffstat (limited to 'test/spec/exception-handling/legacy/throw.txt')
-rw-r--r-- | test/spec/exception-handling/legacy/throw.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/spec/exception-handling/legacy/throw.txt b/test/spec/exception-handling/legacy/throw.txt new file mode 100644 index 00000000..e7d56b2b --- /dev/null +++ b/test/spec/exception-handling/legacy/throw.txt @@ -0,0 +1,20 @@ +;;; TOOL: run-interp-spec +;;; STDIN_FILE: third_party/testsuite/proposals/exception-handling/legacy/throw.wast +;;; ARGS*: --enable-exceptions +(;; STDOUT ;;; +out/test/spec/exception-handling/legacy/throw.wast:38: assert_exception passed +out/test/spec/exception-handling/legacy/throw.wast:39: assert_exception passed +out/test/spec/exception-handling/legacy/throw.wast:41: assert_exception passed +out/test/spec/exception-handling/legacy/throw.wast:42: assert_exception passed +out/test/spec/exception-handling/legacy/throw.wast:43: assert_exception passed +out/test/spec/exception-handling/legacy/throw.wast:47: assert_invalid passed: + out/test/spec/exception-handling/legacy/throw/throw.1.wasm:0000019: error: tag variable out of range: 0 (max 0) + 0000019: error: OnThrowExpr callback failed +out/test/spec/exception-handling/legacy/throw.wast:48: assert_invalid passed: + out/test/spec/exception-handling/legacy/throw/throw.2.wasm:0000022: error: type mismatch in throw, expected [i32] but got [] + 0000022: error: OnThrowExpr callback failed +out/test/spec/exception-handling/legacy/throw.wast:50: assert_invalid passed: + out/test/spec/exception-handling/legacy/throw/throw.3.wasm:0000024: error: type mismatch in throw, expected [i32] but got [i64] + 0000024: error: OnThrowExpr callback failed +11/11 tests passed. +;;; STDOUT ;;) |