Files
kotlin-fork/compiler/testData/codegen/box/reflection/annotations/simpleFunAnnotation.kt
T
2023-06-07 14:59:38 +00:00

11 lines
216 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// WITH_REFLECT
@Retention(AnnotationRetention.RUNTIME)
annotation class Simple(val value: String)
@Simple("OK")
fun box(): String {
return (::box.annotations.single() as Simple).value
}