// FIR_IDENTICAL // !LANGUAGE: +ValueClasses // WITH_STDLIB @JvmInline value class A(val x: Int, val y: Int) { constructor(other: A): this(other.x, other.y) constructor(x: UInt, y: UInt): this(x.toInt(), y.toInt()) } data class B(val x: UInt, val y: UInt) { constructor(other: A) : this(other.x, other.y) constructor(x: Int, y: Int) : this(x.toUInt(), y.toUInt()) }