Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
kt2398.kt
blob: a8b11518d1ab02c2b4bfe43675e67c2cf60a84e1 [
file
] [
log
] [
blame
]
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"
}