Files
kotlin-fork/idea/testData/checker/AnnotationOnFile.kt
T
2015-09-04 17:23:25 +03:00

24 lines
720 B
Kotlin
Vendored

<error>@file:kotlin.deprecated("message")</error>
@file:Suppress(<error>BAR</error>)
<error>@file:Suppress(BAZ)</error>
<error><error>@<error>k</error>otlin.deprecated("message")</error></error>
<error>@<error>S</error>uppress(<error>BAR</error>)</error>
<error>@<error>S</error>uppress(BAZ)</error>
@file:myAnnotation(1, "string")
@file:boo.myAnnotation(1, <error>BAR</error>)
@file:myAnnotation(N, BAZ)
@<error>m</error>yAnnotation(1, "string")
@<error>b</error>oo.myAnnotation(1, "string")
@<error>m</error>yAnnotation(N, BAZ)
package boo
val BAZ = "baz"
val N = 0
target(AnnotationTarget.FILE)
annotation(repeatable = true, retention = AnnotationRetention.SOURCE) class myAnnotation(val i: Int, val s: String)