Files
kotlin-fork/backend.native/tests/external/codegen/blackbox/reflection/annotations/simpleFunAnnotation.kt
T

13 lines
297 B
Kotlin

// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// WITH_REFLECT
@Retention(AnnotationRetention.RUNTIME)
annotation class Simple(val value: String)
@Simple("OK")
fun box(): String {
return (::box.annotations.single() as Simple).value
}