Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
847a2ced07911ac5a943ed41390d054d0e81aa1f
/
.
/
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"
)
}