summaryrefslogtreecommitdiff
path: root/test/spec/exception-handling-old.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/spec/exception-handling-old.wast')
-rw-r--r--test/spec/exception-handling-old.wast40
1 files changed, 17 insertions, 23 deletions
diff --git a/test/spec/exception-handling-old.wast b/test/spec/exception-handling-old.wast
index 5024fa734..6b4631877 100644
--- a/test/spec/exception-handling-old.wast
+++ b/test/spec/exception-handling-old.wast
@@ -352,40 +352,34 @@
"tag's param numbers must match"
)
-(assert_invalid
- (module
- (func $f0
- (block $l0
- (try
- (do
- (try
- (do)
- (delegate $l0) ;; target is a block
- )
+(module
+ (func $f0
+ (block $l0
+ (try
+ (do
+ (try
+ (do)
+ (delegate $l0) ;; target is a block
)
- (catch_all)
)
+ (catch_all)
)
)
)
- "all delegate targets must be valid"
)
-(assert_invalid
- (module
- (func $f0
- (try $l0
- (do)
- (catch_all
- (try
- (do)
- (delegate $l0) ;; the target catch is above the delegate
- )
+(module
+ (func $f0
+ (try $l0
+ (do)
+ (catch_all
+ (try
+ (do)
+ (delegate $l0) ;; the target catch is above the delegate
)
)
)
)
- "all delegate targets must be valid"
)
(assert_invalid