Files
kotlin-fork/compiler/testData/diagnostics/testsWithJvmBackend/duplicateJvmSignature/inlineClasses/declarationClash.kt
T

12 lines
339 B
Kotlin
Vendored

// WITH_STDLIB
// TARGET_BACKEND: JVM_IR
@JvmInline
value class <!CONFLICTING_JVM_DECLARATIONS!>A(val x: Int)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: UInt)<!>: this(x.toInt())
}
data class <!CONFLICTING_JVM_DECLARATIONS!>B(val x: UInt)<!> {
<!CONFLICTING_JVM_DECLARATIONS!>constructor(x: Int)<!> : this(x.toUInt())
}