summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm15
1 files changed, 13 insertions, 2 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index 773cbbd9d..6dd442a36 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -1002,9 +1002,20 @@
)
)
)
- (call $lb
- (i32.const 1)
+ (drop
+ (call $lb
+ (i32.const 1)
+ )
)
)
)
+ (func $jumpThreadDrop (result i32)
+ (local $0 i32)
+ (set_local $0
+ (call_import $return_int)
+ )
+ (block $jumpthreading$outer$2
+ )
+ (get_local $0)
+ )
)