blob: 84a840cc428d58e504c281b8e5c427ee21ded845 [file]
// RUN_PIPELINE_TILL: CODEGEN
// LANGUAGE: -JvmIndyAllowLambdasWithAnnotations
// WITH_STDLIB
// ISSUE: KT-87659
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class RuntimeAnn
// With the feature disabled, annotated lambdas are compiled to a class, so nothing is reported.
val lambda = @RuntimeAnn {}
val anonymousFunction = @RuntimeAnn fun () {}
/* GENERATED_FIR_TAGS: annotationDeclaration, anonymousFunction, lambdaLiteral, propertyDeclaration */