Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
inlineClasses
/
unboxMethodCalledByInlineClass.kt
blob: 7e1e7a8d75f69e56d7820b98aa2bb197d84a1f01 [
file
]
// !LANGUAGE: +InlineClasses
// 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