summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index 77e5a9eb1..773cbbd9d 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -990,4 +990,21 @@
(br $while-in$1)
)
)
+ (func $__Z12multi_varargiz (param $0 i32)
+ (local $1 i32)
+ (local $2 i32)
+ (if
+ (get_local $1)
+ (loop $while-in$1
+ (br_if $while-in$1
+ (i32.eqz
+ (get_local $2)
+ )
+ )
+ )
+ (call $lb
+ (i32.const 1)
+ )
+ )
+ )
)