Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/fieldNameClash.kt
T
2020-10-14 16:53:58 +02:00

10 lines
164 B
Kotlin
Vendored

inline class Z(val s: String) {
val Int.s: Int get() = 42
}
fun box(): String {
if (Z("a").toString() == "Z(s=a)")
return "OK"
return "Fail"
}