summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index be62737b9..c578d8b63 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -466,6 +466,25 @@
(i32.const 0)
)
)
+ (func $continues
+ (loop $while-out$0 $while-in$1
+ (call $print
+ (i32.const 1)
+ )
+ (loop $do-once$2 $unlikely-continue$3
+ (call $print
+ (i32.const 5)
+ )
+ (br_if $unlikely-continue$3
+ (call $check)
+ )
+ )
+ (call $print
+ (i32.const 2)
+ )
+ (br $while-in$1)
+ )
+ )
(func $z
(nop)
)