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