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