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,4 @@
import kotlin.jvm.*
native fun <<!REIFIED_TYPE_PARAMETER_NO_INLINE!>reified<!> T> foo()
<!NATIVE_DECLARATION_CANNOT_BE_INLINED!>inline native fun <reified T> bar()<!>