Files
kotlin-fork/compiler/testData/codegen/box/extensionProperties/inClass.kt
T
2019-11-19 11:00:09 +03:00

14 lines
191 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Test {
val Int.foo: String
get() = "OK"
fun test(): String {
return 1.foo
}
}
fun box(): String {
return Test().test()
}