63f461a6cd
^KT-59874
11 lines
228 B
Kotlin
Vendored
11 lines
228 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// See KT-9145
|
|
|
|
@Target(AnnotationTarget.CLASS)
|
|
annotation class Ann
|
|
|
|
fun foo() {
|
|
for (<!WRONG_ANNOTATION_TARGET!>@Ann<!> <!WRONG_MODIFIER_TARGET!>private<!> x in 1..100) {
|
|
if (x == 1) return
|
|
}
|
|
} |