summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/exception-handling.wast.fromBinary')
-rw-r--r--test/exception-handling.wast.fromBinary11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary
index 44bd2e5c3..d5cc2c179 100644
--- a/test/exception-handling.wast.fromBinary
+++ b/test/exception-handling.wast.fromBinary
@@ -20,6 +20,7 @@
(local $1 i64)
(local $2 (i32 i64))
(local $3 i32)
+ (local $4 i32)
(try $label$3
(do
(throw $e-i32
@@ -59,7 +60,15 @@
)
)
(drop
- (local.get $x)
+ (block (result i32)
+ (local.set $4
+ (local.get $x)
+ )
+ (drop
+ (local.get $1)
+ )
+ (local.get $4)
+ )
)
)
)