Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
propertyInInitializer.kt
blob: bd8aa833063c823041461671266a0417de6775f6 [
file
] [
log
] [
blame
]
class
Outer
()
{
val s
=
"xyzzy"
open inner
class
InnerBase
(
public
val name
:
String
)
{
}
inner
class
InnerDerived
():
InnerBase
(
s
)
{
}
val x
=
InnerDerived
()
}
fun box
()
:
String
{
val o
=
Outer
()
return
if
(
o
.
x
.
name
!=
"xyzzy"
)
"fail"
else
"OK"
}