mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
10 lines
231 B
Kotlin
Vendored
10 lines
231 B
Kotlin
Vendored
// !LANGUAGE: -ProhibitLocalAnnotations
|
|
|
|
fun f() {
|
|
<!LOCAL_ANNOTATION_CLASS!>annotation class Anno<!>
|
|
|
|
@Anno class Local {
|
|
<!LOCAL_ANNOTATION_CLASS!>annotation <!NESTED_CLASS_NOT_ALLOWED!>class Nested<!><!>
|
|
}
|
|
}
|