Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
initializerBlockDImpl.kt
blob: 12170c28edb8034cd23890634643f35a5a4393ac [
file
] [
log
] [
blame
]
// WITH_STDLIB
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"
}