Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/native/trait.kt
T
2015-05-12 19:43:17 +02:00

11 lines
312 B
Kotlin
Vendored

import kotlin.jvm.*
interface Tr {
<!NATIVE_DECLARATION_IN_TRAIT!>native fun foo()<!>
<!NATIVE_DECLARATION_IN_TRAIT, NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun bar()<!> {}
companion object {
native fun foo()
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun bar()<!> {}
}
}