10 lines
211 B
Kotlin
Vendored
10 lines
211 B
Kotlin
Vendored
// 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
|
|
}
|
|
} |