mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 08:31:29 +00:00
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"
|
|
}
|