Files
kotlin-fork/compiler/testData/diagnostics/tests/syntax/complicatedLTGTE.fir.kt
T
Denis.Zharkov 67f9025f9e Add test data for parsing of complicated <..> and <..>= combinations
^KT-52684 Related
^KT-8263 Related
2022-06-09 15:44:35 +00:00

9 lines
224 B
Kotlin
Vendored

// SKIP_TXT
// ISSUE: KT-52684
fun test(x: Int, y: Int) {
if (<!ASSIGNMENT_IN_EXPRESSION_CONTEXT!>x < (<!SYNTAX!>if<!><!SYNTAX!><!> <!SYNTAX!>(<!><!SYNTAX!><!>y >= 115<!>) 1 else 2<!SYNTAX!>))<!> {
Unit
}
}