Files
kotlin-fork/compiler/testData/diagnostics/tests/sealed/NonPrivateConstructor.fir.kt
T

8 lines
168 B
Kotlin
Vendored

sealed class Sealed protected constructor(val x: Int) {
object FIRST : Sealed()
public constructor(): this(42)
constructor(y: Int, z: Int): this(y + z)
}