summaryrefslogtreecommitdiff
path: root/test/spec/exception-handling/throw_ref.txt
diff options
context:
space:
mode:
authorSoni L. <EnderMoneyMod@gmail.com>2024-11-20 19:19:56 -0300
committerGitHub <noreply@github.com>2024-11-20 14:19:56 -0800
commitb09caf643e08ec056769a39e91c65e0bafa90551 (patch)
tree727654d04c6550b392afc98a5a9677c1a3fec747 /test/spec/exception-handling/throw_ref.txt
parenta0b7abef00b59eeafed58c774195189425d020b0 (diff)
downloadwabt-b09caf643e08ec056769a39e91c65e0bafa90551.tar.gz
wabt-b09caf643e08ec056769a39e91c65e0bafa90551.tar.bz2
wabt-b09caf643e08ec056769a39e91c65e0bafa90551.zip
interp: Implement EHv4 (#2512)
Continuation of #2470
Diffstat (limited to 'test/spec/exception-handling/throw_ref.txt')
-rw-r--r--test/spec/exception-handling/throw_ref.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/spec/exception-handling/throw_ref.txt b/test/spec/exception-handling/throw_ref.txt
new file mode 100644
index 00000000..eed75517
--- /dev/null
+++ b/test/spec/exception-handling/throw_ref.txt
@@ -0,0 +1,19 @@
+;;; TOOL: run-interp-spec
+;;; STDIN_FILE: third_party/testsuite/proposals/exception-handling/throw_ref.wast
+;;; ARGS*: --enable-exceptions
+(;; STDOUT ;;;
+out/test/spec/exception-handling/throw_ref.wast:99: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:101: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:104: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:106: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:108: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:109: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:115: assert_exception passed
+out/test/spec/exception-handling/throw_ref.wast:117: assert_invalid passed:
+ out/test/spec/exception-handling/throw_ref/throw_ref.1.wasm:0000018: error: type mismatch in throw_ref, expected [exnref] but got []
+ 0000018: error: OnThrowRefExpr callback failed
+out/test/spec/exception-handling/throw_ref.wast:118: assert_invalid passed:
+ out/test/spec/exception-handling/throw_ref/throw_ref.2.wasm:000001a: error: type mismatch in throw_ref, expected [exnref] but got []
+ 000001a: error: OnThrowRefExpr callback failed
+15/15 tests passed.
+;;; STDOUT ;;)