summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/directize.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/passes/directize.txt b/test/passes/directize.txt
index 6e0644c01..7f4b1a57c 100644
--- a/test/passes/directize.txt
+++ b/test/passes/directize.txt
@@ -125,6 +125,14 @@
(unreachable)
)
(func $bar (; 1 ;) (type $ii) (param $x i32) (param $y i32)
+ (block
+ (drop
+ (local.get $x)
+ )
+ (drop
+ (local.get $y)
+ )
+ )
(unreachable)
)
)
@@ -136,6 +144,14 @@
(unreachable)
)
(func $bar (; 1 ;) (type $ii) (param $x i32) (param $y i32)
+ (block
+ (drop
+ (local.get $x)
+ )
+ (drop
+ (local.get $y)
+ )
+ )
(unreachable)
)
)
@@ -148,6 +164,14 @@
(unreachable)
)
(func $bar (; 1 ;) (type $ii) (param $x i32) (param $y i32)
+ (block
+ (drop
+ (local.get $x)
+ )
+ (drop
+ (local.get $y)
+ )
+ )
(unreachable)
)
)