mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
9 lines
156 B
Kotlin
Vendored
9 lines
156 B
Kotlin
Vendored
class A(
|
|
val a: String = object {
|
|
override fun toString(): String = "OK"
|
|
}.toString()
|
|
)
|
|
|
|
fun box() : String {
|
|
return A().a
|
|
} |