Files
kotlin-fork/js/js.translator/testData/box/inheritance/fromNativeInterface.kt
T
2016-11-17 16:22:29 +03:00

16 lines
169 B
Kotlin
Vendored

package foo
@native
interface A {
val bar: Int get() = noImpl
fun foo(): String = noImpl
}
class C : A
fun box(): String {
val c = C()
return "OK"
}