mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
This PR enables LineNumberTestGenerated test on IR backend. The testing of hardcoded sequence of line numbers is replaced with mere checks for set-like checks for expected line numbers.
12 lines
144 B
Kotlin
Vendored
12 lines
144 B
Kotlin
Vendored
fun test() {
|
|
foo()
|
|
bar()
|
|
}
|
|
|
|
fun foo(i: Int = 1) {
|
|
}
|
|
|
|
inline fun bar(i: Int = 1) {
|
|
}
|
|
// IGNORE_BACKEND: JVM_IR
|
|
// 2 3 13 14 4 7 6 10 9 15 |