Files
kotlin/compiler/testData/codegen/bytecodeText/inlineClasses/boxInlineClassInsideElvisWithNullConstant.kt
Mikhail Zarechenskiy 01d9be65bc Perform bytecode optimisations for inline classes
#KT-23742 Fixed
2018-06-18 11:52:36 +03:00

13 lines
209 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
inline class UInt(private val data: Int)
fun f() {
val unull = UInt(1) ?: null
}
// 0 INVOKESTATIC UInt\$Erased.box
// 0 INVOKEVIRTUAL UInt.unbox
// 0 valueOf
// 0 intValue