Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6fc27c22f44d8051bf2e89f1657c0d9741c281c0
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
functionLiterals
/
functionLIteralInBlockInIf.kt
blob: ecd3cea9b2b522ef384c7a2ea486f12f8944282d [
file
]
// FIR_IDENTICAL
// !CHECK_TYPE
fun test
()
{
val a
=
if
(
true
)
{
val x
=
1
({
x
})
}
else
{
{
2
}
}
a checkType
{
_
<()
->
Int
>()
}
}