Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithStdLib
/
callableReferences
/
simpleNoReceiver.kt
blob: 2a0c4898a3557a0d6bb62c17aa5c31b6dbc983a7 [
file
]
// RUN_PIPELINE_TILL: FRONTEND
fun foo
(
x
:
(
String
)
->
Int
)
{}
fun bar
(
x
:
String
):
Int
{<!
NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY
!>}<!>
fun main
()
{
foo
(::
bar
)
}
/* GENERATED_FIR_TAGS: callableReference, functionDeclaration, functionalType */