Files
kotlin-fork/backend.native/tests/codegen/propertyCallableReference/linkTest_main.kt
T
2017-03-07 20:02:20 +03:00

9 lines
149 B
Kotlin

import a.A
fun main(args: Array<String>) {
val p1 = A::x
println(p1.get(A(42)))
val a = A(117)
val p2 = a::x
println(p2.get())
}