mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
242 B
Kotlin
Vendored
13 lines
242 B
Kotlin
Vendored
// !LANGUAGE: +NestedClassesInAnnotations
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// IGNORE_BACKEND: NATIVE
|
|
|
|
annotation class Foo(val kind: Kind) {
|
|
enum class Kind { FAIL, OK }
|
|
}
|
|
|
|
@Foo(Foo.Kind.OK)
|
|
fun box(): String {
|
|
return Foo.Kind.OK.name
|
|
}
|