Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClass
/
innerWithCapture.kt
blob: bc66ec2ee8135001ce2b0e91eee2b7e6d341f471 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
fun foo
(
s
:
String
):
String
{
class
Local
{
open inner
class
Inner
()
{
open fun result
()
=
s
}
}
return
Local
().
Inner
().
result
()
}
fun box
():
String
{
return
foo
(
"OK"
)
}