blob: f6dae7bfba3875324607d4b67efe85c4a2d97dcc [file]
// RUN_PIPELINE_TILL: CODEGEN
import kotlin.reflect.KMutableProperty0
import kotlin.reflect.KMutableProperty1
class A {
var bar: Int = 1
}
var bar = 1
fun foo1(x: KMutableProperty0<Int>) {}
fun foo2(x: KMutableProperty1<A, Int>) {}
fun main() {
foo1(::bar)
foo2(A::bar)
}
/* GENERATED_FIR_TAGS: callableReference, classDeclaration, functionDeclaration, integerLiteral, propertyDeclaration */