Files
kotlin/compiler/testData/codegen/boxWithStdlib/reflection/annotations/propertyWithoutBackingField.kt

10 lines
169 B
Kotlin
Vendored

annotation class Ann(val value: String)
@Ann("OK")
val property: String
get() = ""
fun box(): String {
return (::property.annotations.single() as Ann).value
}