Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
capturedLocalGenericFun.kt
blob: e982e1afb56939dfd02183975b978068b26944ff [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
fun box
()
:
String
{
fun
<
T
>
local
(
s
:
T
)
:
T
{
return
s
;
}
fun test
(
s
:
Int
)
:
Int
{
return
local
(
s
)
}
if
(
test
(
10
)
!=
10
)
return
"fail1"
return
"OK"
}