Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0c8f3faeecbeecb0d1430ef2b86dd192a029711c
/
.
/
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
()
}