summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index 3fb76981d..54b790edf 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -453,4 +453,17 @@
)
)
)
+ (func $phi (result i32)
+ (block $do-once$0
+ (if
+ (call $lb
+ (i32.const 1)
+ )
+ (br $do-once$0
+ (i32.const 0)
+ )
+ )
+ (i32.const 1)
+ )
+ )
)