blob: f369864b63fecbc3296f39cab821fd6332bead6c [file]
// RUN_PIPELINE_TILL: CODEGEN
// FIR_DUMP
class Foo {
companion object {
fun bar() {}
val baz = 42
}
}
val x1 = Foo::bar
val x2 = Foo.Companion::bar
val x3 = Foo::baz
val x4 = Foo.Companion::baz
/* GENERATED_FIR_TAGS: callableReference, classDeclaration, companionObject, functionDeclaration, integerLiteral,
objectDeclaration, propertyDeclaration */