Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
extensionFunctions
/
kt3646.kt
blob: 01e34851f602c025e514f003954036485c196ac5 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
fun test
(
cl
:
Int
.()
->
Int
):
Int
=
11.cl
()
class
Foo
{
val a
=
test
{
this
}
}
fun box
():
String
{
if
(
Foo
().
a
!=
11
)
return
"fail"
return
"OK"
}