14 lines
204 B
Kotlin
Vendored
14 lines
204 B
Kotlin
Vendored
class Test {
|
|
interface Foo { }
|
|
|
|
class FooImplNested: Foo { }
|
|
|
|
inner class FooImplInner: Foo { }
|
|
}
|
|
|
|
fun box(): String {
|
|
Test().FooImplInner()
|
|
Test.FooImplNested()
|
|
return "OK"
|
|
}
|