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

11 lines
280 B
Kotlin
Vendored

class A {
<!WRONG_MODIFIER_TARGET!>external<!> constructor() {}
inner class B {
<!WRONG_MODIFIER_TARGET!>external<!> constructor() {}
}
<!WRONG_MODIFIER_TARGET!>external<!> constructor(x: Int)
}
class C <!WRONG_MODIFIER_TARGET!>external<!> constructor()