mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
18 lines
353 B
Kotlin
Vendored
18 lines
353 B
Kotlin
Vendored
|
|
class TestConstructor private constructor(p: Int = 1)
|
|
class A(vararg a: Int, f: () -> Unit) {}
|
|
|
|
class B {
|
|
@Deprecated("", level = DeprecationLevel.HIDDEN)
|
|
constructor()
|
|
}
|
|
|
|
class Outer {
|
|
inner class Inner(x: Int = 1, y: String = "")
|
|
class Nested(x: Int = 1, y: String = "")
|
|
}
|
|
|
|
sealed class A(val x: String? = null) {
|
|
class C : A()
|
|
}
|