mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 08:31:28 +00:00
10 lines
214 B
Kotlin
Vendored
10 lines
214 B
Kotlin
Vendored
class A {
|
|
inner class Inner(val result: Int)
|
|
}
|
|
|
|
fun box(): String {
|
|
val result = (A::Inner)((::A)(), 111).result + (A::Inner)(A(), 222).result
|
|
if (result != 333) return "Fail $result"
|
|
return "OK"
|
|
}
|