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

16 lines
220 B
Kotlin
Vendored

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