diff options
Diffstat (limited to 'test/parse')
-rw-r--r-- | test/parse/expr/rethrow.txt | 2 | ||||
-rw-r--r-- | test/parse/expr/throw.txt | 2 | ||||
-rw-r--r-- | test/parse/module/except.txt | 6 | ||||
-rw-r--r-- | test/parse/module/export-except.txt | 4 | ||||
-rw-r--r-- | test/parse/module/import-except.txt | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/test/parse/expr/rethrow.txt b/test/parse/expr/rethrow.txt index 227745e9..b3c034e2 100644 --- a/test/parse/expr/rethrow.txt +++ b/test/parse/expr/rethrow.txt @@ -1,7 +1,7 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-exceptions (module - (except $e1) + (event $e1) (func try catch diff --git a/test/parse/expr/throw.txt b/test/parse/expr/throw.txt index 126f3929..b5209817 100644 --- a/test/parse/expr/throw.txt +++ b/test/parse/expr/throw.txt @@ -1,5 +1,5 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-exceptions (module - (except $e1) + (event $e1) (func throw $e1)) diff --git a/test/parse/module/except.txt b/test/parse/module/except.txt index 6626b0e2..f734e2be 100644 --- a/test/parse/module/except.txt +++ b/test/parse/module/except.txt @@ -1,6 +1,6 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-exceptions (module - (except) - (except $e1 i32) - (except $e2 f32 f32 f32)) + (event) + (event $e1 i32) + (event $e2 f32 f32 f32)) diff --git a/test/parse/module/export-except.txt b/test/parse/module/export-except.txt index 187b2f24..d8b82460 100644 --- a/test/parse/module/export-except.txt +++ b/test/parse/module/export-except.txt @@ -1,5 +1,5 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-exceptions (module - (except i32 i32) - (export "my_except" (except 0))) + (event i32 i32) + (export "my_event" (event 0))) diff --git a/test/parse/module/import-except.txt b/test/parse/module/import-except.txt index a80ec4b2..28846523 100644 --- a/test/parse/module/import-except.txt +++ b/test/parse/module/import-except.txt @@ -1,4 +1,4 @@ ;;; TOOL: wat2wasm ;;; ARGS: --enable-exceptions (module - (import "foo" "1" (except f64 f32))) + (import "foo" "1" (event f64 f32))) |