13 lines
228 B
Kotlin
Vendored
13 lines
228 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// WITH_REFLECT
|
|
|
|
@Retention(AnnotationRetention.RUNTIME)
|
|
annotation class Simple(val value: String)
|
|
|
|
@Simple("OK")
|
|
class A
|
|
|
|
fun box(): String {
|
|
return (A::class.annotations.single() as Simple).value
|
|
}
|