19 lines
336 B
Kotlin
Vendored
19 lines
336 B
Kotlin
Vendored
// !DIAGNOSTICS: -DEPRECATION
|
|
@nativeInvoke
|
|
fun Int.foo(a: String): Int = noImpl
|
|
|
|
external class Bar(b: Int, c: Char) {
|
|
@nativeInvoke
|
|
fun baz(d: Int) { noImpl }
|
|
}
|
|
|
|
external object Obj {
|
|
@nativeInvoke
|
|
fun test1(e: String) { noImpl }
|
|
|
|
object Nested {
|
|
@nativeInvoke
|
|
fun test2(g: Int) { noImpl }
|
|
}
|
|
}
|