blob: 7226c3f29c88e770e42ddf0a59a1a9dbe601b5eb [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_DUMP
annotation class NoTarget
@Target(AnnotationTarget.VALUE_PARAMETER)
annotation class Param
@Target(AnnotationTarget.PROPERTY)
annotation class Prop
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.VALUE_PARAMETER)
annotation class Both
data class Foo(
@NoTarget @Param @Prop @Both val p1: Int,
@param:NoTarget @param:Both val p2: String,
@property:NoTarget @property:Both val p3: Boolean,
)
/* GENERATED_FIR_TAGS: annotationDeclaration, annotationUseSiteTargetParam, annotationUseSiteTargetProperty,
classDeclaration, data, primaryConstructor, propertyDeclaration */