// WITH_RUNTIME package p import p.foo class A(val n: Int) val A.foo: Boolean get() = n > 1 fun test() { val t = A::foo }