Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
classes
/
kt1247.kt
blob: 6a03b709f66126802119fd247dc3295bf4c22083 [
file
]
// IGNORE_BACKEND_FIR: JVM_IR
fun f
(
a
:
Int
?,
b
:
Int
.(
Int
)->
Int
)
=
a
?.
b
(
1
)
fun box
():
String
{
val x
=
f
(
1
)
{
this
+
it
+
2
}
return
if
(
x
==
4
)
"OK"
else
"fail"
}