mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
12 lines
262 B
Kotlin
Vendored
12 lines
262 B
Kotlin
Vendored
// FILE: annotations.kt
|
|
@Target(AnnotationTarget.CLASS)
|
|
public annotation class ClassAnn
|
|
|
|
@Target(AnnotationTarget.FILE)
|
|
public annotation class FileAnn
|
|
|
|
// FILE: 1.kt
|
|
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@file:ClassAnn<!>
|
|
|
|
// FILE: 2.kt
|
|
@file:FileAnn |