mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
5 lines
130 B
Kotlin
Vendored
5 lines
130 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
inline class Test(val x: Int = 0) {
|
|
constructor(a: Int, b: Int, c: Int = 42) : this(a + b + c)
|
|
} |