// RUN_PIPELINE_TILL: FRONTEND
// FULL_JDK
// ISSUE: KT-45905

// FILE: Ann.java
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;

@Target(value={ METHOD, FIELD })
public @interface Ann {
    String[] cascade();
}

// FILE: main.kt

class Temp {
    @Ann(cascade = <!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>[<!UNRESOLVED_REFERENCE!>unresolved<!>]<!>)
    var x: Int = 1
}

/* GENERATED_FIR_TAGS: classDeclaration, collectionLiteral, integerLiteral, javaType, propertyDeclaration */
