Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fe0f055c5c4e6ededc6378ef6df3f28ee841978
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
anonymousObject
/
kt13182.kt
blob: 012d6a2ae86b7b6f294da0dc2ea81e59c842492b [
file
]
// FILE: 1.kt
package
test
inline
fun test
(
cond
:
Boolean
,
crossinline cif
:
()
->
String
):
String
{
return
if
(
cond
)
{
{
cif
()
}()
}
else
{
cif
()
}
}
// FILE: 2.kt
import
test
.*
fun box
():
String
{
val s
=
"OK"
return
test
(
true
)
{
{
s
}()
}
}