Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
defaultValues
/
kt18689.kt
blob: f64cd2306d247d0775809021f9bbaf821eaec6a4 [
file
]
// FILE: 1.kt
package
test
class
Foo
{
fun foo
()
=
"OK"
}
inline
fun inlineFn
(
crossinline fn
:
()
->
String
,
x
:
Int
?
=
1
):
String
{
return
fn
()
}
// FILE: 2.kt
import
test
.*
private
val foo
=
Foo
()
fun box
():
String
{
return
inlineFn
(
foo
::
foo
)
}