30 lines
673 B
Kotlin
Vendored
30 lines
673 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER, -DEPRECATION
|
|
|
|
external class A {
|
|
class B {
|
|
class C {
|
|
@nativeInvoke
|
|
fun foo() { definedExternally }
|
|
|
|
@nativeInvoke
|
|
fun invoke(a: String): Int = definedExternally
|
|
}
|
|
|
|
object obj {
|
|
@nativeInvoke
|
|
fun foo() { definedExternally }
|
|
|
|
@nativeInvoke
|
|
fun invoke(a: String): Int = definedExternally
|
|
}
|
|
|
|
companion object {
|
|
@nativeInvoke
|
|
fun foo() { definedExternally }
|
|
|
|
@nativeInvoke
|
|
fun invoke(a: String): Int = definedExternally
|
|
}
|
|
}
|
|
} |