Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
arrays
/
nonNullArray.kt
blob: 0c34163f000fc395ee8d42ebd6bff28bf4ccb94d [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
class
A
()
{
class
B
(
val i
:
Int
)
{
}
fun test
()
=
Array
<
B
>
(
10
,
{
B
(
it
)
})
}
fun box
()
=
if
(
A
().
test
()[
5
].
i
==
5
)
"OK"
else
"fail"