Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClasses
/
kt10835.kt
blob: f538069e73e37e56ac0187a55efdd9557a4c6905 [
file
] [
log
] [
blame
]
// IGNORE_BACKEND: JVM
class
X
(
val x
:
String
)
{
open inner
class
Y
{
fun foo
()
=
x
}
fun foo
(
s
:
String
):
String
{
with
(
X
(
s
+
x
))
{
val obj
=
object
:
Y
()
{}
return
obj
.
foo
()
}
}
}
fun box
()
=
X
(
"K"
).
foo
(
"O"
)