diff options
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r-- | test/unit.fromasm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm index 31c1d5b3d..cecbeef22 100644 --- a/test/unit.fromasm +++ b/test/unit.fromasm @@ -537,4 +537,25 @@ ) (i32.const 50) ) + (func $breakThroughMany (param $0 i32) + (block $label$break$L1 + (drop + (if + (get_local $0) + (loop $while-in$2 + (br_if $label$break$L1 + (i32.eqz + (get_local $0) + ) + ) + (call $zeroInit + (i32.const 0) + ) + (br $while-in$2) + ) + (i32.const 1337) + ) + ) + ) + ) ) |