mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
16 lines
334 B
Kotlin
Vendored
16 lines
334 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
// 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")
|
|
class A
|
|
|
|
fun box(): String {
|
|
return (A::class.annotations.single() as Simple).value
|
|
}
|