Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1b95d296c5592d3a3e71cc638994fa2ba4e4f7
/
.
/
compiler
/
testData
/
codegen
/
box
/
objects
/
kt3684.kt
blob: 53e742f1764ba723fa328f5c09e70b62d653f6d6 [
file
]
open
class
X
(
private
val n
:
String
)
{
fun foo
():
String
{
return
object
:
X
(
"inner"
)
{
fun
print
():
String
{
return
n
;
}
}.
print
()
}
}
fun box
()
:
String
{
return
X
(
"OK"
).
foo
()
}