Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
boxInline
/
defaultValues
/
kt18689.kt
blob: 4af89575ce70568e9d58cf269d2ae97c424b2e3b [
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
)
}