mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
19 lines
265 B
Kotlin
Vendored
19 lines
265 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
inline class UInt(private val u: Int)
|
|
|
|
fun test(x: UInt?, y: UInt) {
|
|
val a = run {
|
|
x!!
|
|
}
|
|
|
|
val b = run {
|
|
y
|
|
}
|
|
}
|
|
|
|
// 2 INVOKESTATIC UInt\$Erased.box
|
|
// 3 INVOKEVIRTUAL UInt.unbox
|
|
|
|
// 0 valueOf
|
|
// 0 intValue |