// RUN_PIPELINE_TILL: FRONTEND
// Should be something like TYPE_MISMATCH here
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@file:Some(<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>return x<!>)<!>

const val x = 42

annotation class Some(val value: Int)

/* GENERATED_FIR_TAGS: annotationDeclaration, annotationUseSiteTargetFile, const, integerLiteral, primaryConstructor,
propertyDeclaration */
