Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
21de67cac1bef9259daa407b68a12e178923aef3
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
initializerBlockDImpl.kt
blob: 087f4ab0c54d5c42c581de61b7075a8cac30ac8e [
file
]
// WITH_RUNTIME
class
World
()
{
public
val items
:
ArrayList
<
Item
>
=
ArrayList
<
Item
>()
inner
class
Item
()
{
init
{
items
.
add
(
this
)
}
}
val foo
=
Item
()
}
fun box
()
:
String
{
val w
=
World
()
if
(
w
.
items
.
size
!=
1
)
return
"fail"
return
"OK"
}