59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
25 lines
539 B
Kotlin
25 lines
539 B
Kotlin
import kotlin.jvm.*
|
|
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
|
|
class C {
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
|
|
default object {
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
}
|
|
}
|
|
|
|
object O {
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
}
|
|
|
|
fun test() {
|
|
class Local {
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
}
|
|
|
|
object {
|
|
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
|
}
|
|
} |