Files
kotlin-fork/compiler/testData/lineNumber/custom/ifThenElse.kt
T
Nikolay Krasko 3d9d6e666d Test several line numbers are generated for one instruction
(cherry picked from commit 1ea9280)
2016-10-05 18:49:38 +03:00

15 lines
243 B
Kotlin
Vendored

fun foo() {
if (0 < 1) {
System.out?.println()
} else {
System.out?.println()
}
val b = if (1 < 2) {
System.out?.println()
} else {
System.out?.println()
}
}
// 2 3 5 6 +8 9 11 8 13