17 lines
258 B
Kotlin
Vendored
17 lines
258 B
Kotlin
Vendored
class Outer {
|
|
class Nested {
|
|
fun fn(): String {
|
|
s = "OK"
|
|
return s
|
|
}
|
|
}
|
|
|
|
companion object {
|
|
public var s = "fail"
|
|
private set
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return Outer.Nested().fn()
|
|
} |