blob: fe15ea8d553ffa1c232d4b61eb5e0f23d3d069f5 [file] [log] [blame]
// !LANGUAGE: +InlineClasses
// FILE: utils.kt
inline class UInt(private val u: Int)
// FILE: test.kt
fun test(x: UInt?, y: UInt) {
val a = x ?: y // unbox
val b = x ?: x!! // unbox unbox
}
// @TestKt.class:
// 0 INVOKESTATIC UInt\$Erased.box
// 3 INVOKEVIRTUAL UInt.unbox
// 0 valueOf
// 0 intValue