mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
18 lines
291 B
Kotlin
Vendored
18 lines
291 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
// FILE: utils.kt
|
|
|
|
inline class UInt(private val data: Int)
|
|
|
|
// FILE: test.kt
|
|
|
|
fun f() {
|
|
val unull = UInt(1) ?: null
|
|
}
|
|
|
|
// @TestKt.class:
|
|
// 0 INVOKESTATIC UInt\$Erased.box
|
|
// 0 INVOKESTATIC UInt\.box
|
|
// 0 INVOKEVIRTUAL UInt.unbox
|
|
// 0 valueOf
|
|
// 0 intValue |