summaryrefslogtreecommitdiff
path: root/test/spec/exception-handling.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/exception-handling.wast')
-rw-r--r--test/spec/exception-handling.wast44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/spec/exception-handling.wast b/test/spec/exception-handling.wast
index d951441e0..ebca3a009 100644
--- a/test/spec/exception-handling.wast
+++ b/test/spec/exception-handling.wast
@@ -263,47 +263,3 @@
)
"event's param numbers must match"
)
-
-(assert_invalid
- (module
- (event $e-i32 (attr 0) (param i32))
- (func $f0 (result i32)
- (block $l0 (result i32)
- (drop
- (br_on_exn $l0 $e-i32 (i32.const 0))
- )
- (i32.const 0)
- )
- )
- )
- "br_on_exn's argument must be unreachable or exnref type"
-)
-
-(assert_invalid
- (module
- (event $e-i32 (attr 0) (param i32))
- (func $f0 (result i32) (local $0 exnref)
- (block $l0 (result i32)
- (i32.eqz
- (br_on_exn $l0 $e-i32 (local.get $0))
- )
- )
- )
- )
- "i32.eqz input must be i32"
-)
-
-(assert_invalid
- (module
- (event $e-i32 (attr 0) (param i32))
- (func $f0 (result f32) (local $0 exnref)
- (block $l0 (result f32)
- (drop
- (br_on_exn $l0 $e-i32 (local.get $0))
- )
- (f32.const 0)
- )
- )
- )
- "block+breaks must have right type if breaks return a value"
-)