Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
closures
/
capturedLocalGenericFun.kt
blob: ebe262200130e6bde6ad8d595adc99b829cbf23f [
file
] [
log
] [
blame
]
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"
}