Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6f1fbe2c8085532ef2fa66bf26fdf2b04c5cca97
/
.
/
compiler
/
testData
/
codegen
/
box
/
localClass
/
localHierarchy.kt
blob: 516a910d4014d76586e039c4845b858a40468fe3 [
file
]
// WITH_STDLIB
import
kotlin
.
test
.*
fun foo
(
s
:
String
):
String
{
open
class
Local
{
fun f
()
=
s
}
open
class
Derived
:
Local
()
{
fun g
()
=
f
()
}
return
Derived
().
g
()
}
fun box
():
String
{
return
foo
(
"OK"
)
}