blob: 35fe0cdbc544409295433cf5fe59019f9f6bd0c9 [file]
// RUN_PIPELINE_TILL: CODEGEN
// LANGUAGE_FEATURE_TOGGLED: AllowAnnotationsOnArgumentsOfAnnotations
annotation class X(val value: Array<Y>)
annotation class Y()
@Target(AnnotationTarget.EXPRESSION)
@Retention(AnnotationRetention.SOURCE)
annotation class Z()
@X(@Z() [])
fun foo0() {
}
@X(@Z() arrayOf())
fun foo1() {
}
/* GENERATED_FIR_TAGS: annotationDeclaration, collectionLiteral, functionDeclaration, primaryConstructor,
propertyDeclaration */