mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
15 lines
256 B
Kotlin
Vendored
15 lines
256 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
abstract class Table<T>(
|
|
val content: Array<Array<T>>
|
|
)
|
|
|
|
fun box(): String {
|
|
val x = object : Table<String>(
|
|
Array(1, {
|
|
x-> Array(1, {y -> "OK"})
|
|
})
|
|
) {}
|
|
|
|
return x.content[0][0]
|
|
}
|