05883afc0a
^KT-39883 In Progress
14 lines
322 B
Kotlin
Vendored
14 lines
322 B
Kotlin
Vendored
// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
|
|
fun test() {
|
|
@ann
|
|
while (<!NON_TRIVIAL_BOOLEAN_CONSTANT!>2 > 1<!>) {}
|
|
|
|
@ann
|
|
<!UNREACHABLE_CODE!>do {} while (<!NON_TRIVIAL_BOOLEAN_CONSTANT!>2 > 1<!>)<!>
|
|
|
|
@ann
|
|
<!UNREACHABLE_CODE!>for (i in 1..2) {}<!>
|
|
}
|
|
|
|
annotation class ann
|