blob: 687c2c665100ef349531ae3146ebf1e81eb2c7eb [file] [log] [blame]
// TARGET_BACKEND: JVM
// WITH_STDLIB
@file:StringHolder("OK")
@file:JvmName("FileClass")
@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.RUNTIME)
public annotation class StringHolder(val value: String)
fun box(): String =
Class.forName("FileClass").getAnnotation(StringHolder::class.java)?.value ?: "null"