Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/onLoopsUnreachable.fir.kt
T
2021-06-25 16:37:35 +03:00

14 lines
206 B
Kotlin
Vendored

// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
fun test() {
@ann
while (2 > 1) {}
@ann
do {} while (2 > 1)
@ann
for (i in 1..2) {}
}
annotation class ann