blob: eca0fed1628cb97670c7fb6dd7f23f7b19a21380 [file]
// RUN_PIPELINE_TILL: FRONTEND
// NI_EXPECTED_FILE
fun test() = 3
fun <T> proxy(t: T) = t
class A {
val test = test()
}
class B {
val test = proxy(test())
}
class C {
val bar = test()
val test = <!UNRESOLVED_REFERENCE!>bar<!>()
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, nullableType, propertyDeclaration,
typeParameter */