Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/onLoops.kt
T
Denis Zharkov 849b8acbf8 Replace annotations with brackets in testData
Just in tests that changed after deprecation
2015-05-07 22:36:16 +03:00

12 lines
133 B
Kotlin
Vendored

fun test() {
@ann
while (2 < 1) {}
@ann
do {} while (2 < 1)
@ann
for (i in 1..2) {}
}
annotation class ann