Files
kotlin-fork/compiler/testData/codegen/bytecodeText/controlStructures/kt17110.kt
T
2018-04-23 20:25:43 +03:00

20 lines
304 B
Kotlin
Vendored

fun test(x: Int, y: Int): String {
var result: String
if (x == 6) {
if (y == 6) {
result = "a"
} else {
result = "b"
}
} else {
result = "c"
}
return result
}
fun infiniteLoop() {
while(true) {}
}
// 2 GOTO L7
// 1 GOTO L1