Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt1439.kt
blob: f5cd98d49c4ce6113669ade8e29ba0a7c0ac1988 [
file
] [
log
] [
blame
]
class
MyClass
(
var
fnc
:
()
->
String
)
{
fun test
():
String
{
return
fnc
()
}
}
fun printtest
()
:
String
{
return
"OK"
}
fun box
():
String
{
var
c
=
MyClass
({
printtest
()
})
return
c
.
test
()
}