mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
11 lines
186 B
Kotlin
Vendored
11 lines
186 B
Kotlin
Vendored
// !LANGUAGE: +NestedClassesInAnnotations
|
|
|
|
annotation class Foo(val kind: Kind) {
|
|
enum class Kind { FAIL, OK }
|
|
}
|
|
|
|
@Foo(Foo.Kind.OK)
|
|
fun box(): String {
|
|
return Foo.Kind.OK.name
|
|
}
|