Files
kotlin/compiler/testData/codegen/bytecodeText/inlineClasses/unboxMethodCalledByInlineClass.kt
2018-12-21 16:20:45 +01:00

13 lines
274 B
Kotlin
Vendored

// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JVM_IR
// FILE: Z.kt
inline class Z(val x: Int)
// FILE: Test.kt
fun test(xs: List<Z>) = xs[0]
// @TestKt.class:
// 0 INVOKEVIRTUAL Z\$Erased\.unbox
// 0 INVOKEVIRTUAL Z\-Erased\.unbox
// 1 INVOKEVIRTUAL Z\.unbox-impl \(\)I