e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
34 lines
472 B
Kotlin
Vendored
34 lines
472 B
Kotlin
Vendored
// FILE: test.kt
|
|
|
|
class A
|
|
|
|
fun bar(a: A) = A()
|
|
|
|
fun box() {
|
|
val a = A()
|
|
bar(
|
|
bar(
|
|
bar(a)
|
|
)
|
|
)
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:8 box
|
|
// test.kt:3 <init>
|
|
// test.kt:8 box
|
|
// test.kt:11 box
|
|
// test.kt:5 bar
|
|
// test.kt:3 <init>
|
|
// test.kt:5 bar
|
|
// test.kt:10 box
|
|
// test.kt:5 bar
|
|
// test.kt:3 <init>
|
|
// test.kt:5 bar
|
|
// test.kt:9 box
|
|
// test.kt:5 bar
|
|
// test.kt:3 <init>
|
|
// test.kt:5 bar
|
|
// test.kt:9 box
|
|
// test.kt:14 box
|