Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
localFunctionInFunction.kt
blob: 16e1bedf0287ce7a9847273d7ce09bd55419a4db [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
fun box
():
String
{
fun
local
():
Int
{
return
10
;
}
class
A
{
fun test
():
Int
{
return
local
()
}
}
return
if
(
A
().
test
()
==
10
)
"OK"
else
"fail"
}