// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER, -DEPRECATION external class A { @nativeInvoke fun foo() {definedExternally} @nativeInvoke fun invoke(a: String): Int = definedExternally @nativeInvoke val foo: Int = definedExternally @nativeInvoke object Obj1 {} companion object { @nativeInvoke fun foo() { definedExternally } @nativeInvoke fun invoke(a: String): Int = definedExternally @nativeInvoke val foo: Int = definedExternally @nativeInvoke object Obj2 {} } }