Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
67ac90ce0868ee0c9cd08d72460f16efecded549
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
controlStructures
/
kt4310.fir.kt
blob: 96c8e2a9f3de77b0ec25cb1b0d5e8b9bb016d535 [
file
]
// RUN_PIPELINE_TILL: FRONTEND
package
f
fun test
(
a
:
Boolean
,
b
:
Boolean
):
Int
{
return
if
(
a
)
{
1
}
else
{
<!
INVALID_IF_AS_EXPRESSION
!>
if
<!>
(
b
)
{
3
}
}
}
/* GENERATED_FIR_TAGS: functionDeclaration, ifExpression, integerLiteral */