Do not complain about missing bodies on native functions

This commit is contained in:
Andrey Breslav
2014-12-01 15:29:15 +03:00
parent 19d0ad7e10
commit 76e2ae2005
5 changed files with 140 additions and 1 deletions
@@ -0,0 +1,25 @@
import kotlin.jvm.*
native fun foo()
class C {
native fun foo()
class object {
native fun foo()
}
}
object O {
native fun foo()
}
fun test() {
class Local {
native fun foo()
}
object {
native fun foo()
}
}