Files
kotlin/compiler/testData/codegen/box/inlineClasses/contextsAndAccessors/objectInInlineClassFun.kt
2019-06-13 12:25:06 +02:00

10 lines
191 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
inline class R(private val r: Int) {
fun test() =
object {
override fun toString() = "OK"
}.toString()
}
fun box() = R(0).test()