mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
6 lines
156 B
Kotlin
Vendored
6 lines
156 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
// IGNORE_BACKEND: JVM_IR
|
|
|
|
inline class Test(val x: Int = 0) {
|
|
constructor(a: Int, b: Int, c: Int = 42) : this(a + b + c)
|
|
} |