blob: 38cefdcd719dbbe1f4a636be547d6fc1a78f4354 [file]
// RUN_PIPELINE_TILL: FRONTEND
package test
class Test {
fun test(): Int = 12
companion object {
val a = <!UNRESOLVED_REFERENCE!>test<!>() // Check if resolver will be able to infer type of a variable
}
}
/* GENERATED_FIR_TAGS: classDeclaration, companionObject, functionDeclaration, integerLiteral, objectDeclaration,
propertyDeclaration */