blob: 4763e82876195c3fa60745306bed610857a606e0 [file]
// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-65844
@RequiresOptIn
annotation class MyOptIn
@MyOptIn
fun foo() {}
@OptIn(markerClass = [MyOptIn::class]) // should be ok
class MyClass {
fun test() {
foo()
}
}
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, classReference, collectionLiteral, functionDeclaration */