Files
kotlin-fork/compiler/testData/cfg/controlStructures/continueInFor.values
T
2014-09-05 18:31:53 +04:00

21 lines
1.3 KiB
Plaintext
Vendored

== test ==
fun test(b: Boolean) {
for (i in 1..10) {
if (b) break;
continue;
}
}
---------------------
<v0>: Boolean NEW: magic[FAKE_INITIALIZER](b: Boolean) -> <v0>
<v4>: Int NEW: magic[LOOP_RANGE_ITERATION](1..10|<v3>) -> <v4>
1 <v1>: Int NEW: r(1) -> <v1>
10 <v2>: Int NEW: r(10) -> <v2>
1..10 <v3>: {<: Iterable<Int>} NEW: call(1..10, rangeTo|<v1>, <v2>) -> <v3>
b <v5>: Boolean NEW: r(b) -> <v5>
break !<v6>: *
if (b) break <v7>: * NEW: merge(if (b) break|!<v6>) -> <v7>
continue !<v8>: *
{ if (b) break; continue; } !<v8>: * COPY
for (i in 1..10) { if (b) break; continue; } !<v9>: *
{ for (i in 1..10) { if (b) break; continue; } } !<v9>: * COPY
=====================