Report an error on native declarations marked ilnine

This commit is contained in:
Andrey Breslav
2014-12-01 16:22:03 +03:00
parent 5187694b22
commit 229c7ad537
8 changed files with 49 additions and 0 deletions
@@ -0,0 +1,11 @@
import kotlin.jvm.*
abstract class C {
<!NATIVE_DECLARATION_CANNOT_BE_INLINED, NOTHING_TO_INLINE!>inline native fun foo()<!>
}
fun test() {
abstract class Local {
<!NATIVE_DECLARATION_CANNOT_BE_INLINED, NOTHING_TO_INLINE!>inline native fun foo()<!>
}
}