Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/native/constructor.kt
T

10 lines
302 B
Kotlin
Vendored

class A {
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
inner class B {
<!WRONG_ANNOTATION_TARGET!>native<!> constructor() {}
}
<!WRONG_ANNOTATION_TARGET!>native<!> constructor(<!UNUSED_PARAMETER!>x<!>: Int)
}
class C <!WRONG_ANNOTATION_TARGET!>native<!> constructor()