Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
kt2398.kt
blob: a8b11518d1ab02c2b4bfe43675e67c2cf60a84e1 [
file
]
class
C
{
public
object
Obj
{
val o
=
"O"
object
InnerObj
{
fun k
()
=
"K"
}
class
D
{
val ko
=
"KO"
}
}
}
fun box
():
String
{
val res
=
C
.
Obj
.
o
+
C
.
Obj
.
InnerObj
.
k
()
+
C
.
Obj
.
D
().
ko
return
if
(
res
==
"OKKO"
)
"OK"
else
"Fail: $res"
}