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