summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/intentions/simplifyBooleanWithConstants/reduceableBinary2.kt
blob: f76e58679f09f4b8c8bb8d15da90157dd9752264 (plain)
1
2
3
4
// AFTER-WARNING: The expression is unused
fun foo(y: Boolean) {
    <caret>2 > 1 && y || y || (3 + 3 > 10)
}