mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
225 B
Kotlin
Vendored
13 lines
225 B
Kotlin
Vendored
class A {
|
|
inner class Inner {
|
|
val o = 111
|
|
val k = 222
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
val result = (A::Inner)((::A)()).o + (A::Inner)(A()).k
|
|
if (result != 333) return "Fail $result"
|
|
return "OK"
|
|
}
|