| // 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 */ |