20 lines
274 B
Kotlin
20 lines
274 B
Kotlin
nativeInvoke
|
|
fun Int.foo(a: String): Int = noImpl
|
|
|
|
native
|
|
class Bar(b: Int, c: Char) {
|
|
nativeInvoke
|
|
fun baz(d: Int) {}
|
|
}
|
|
|
|
native
|
|
object Obj {
|
|
nativeInvoke
|
|
fun test1(e: String) {}
|
|
|
|
object Nested {
|
|
nativeInvoke
|
|
fun test2(g: Int) {}
|
|
}
|
|
}
|