blob: 866537f842f44a10b67571061d5b1db74c7bb457 [file]
// RUN_PIPELINE_TILL: CODEGEN
// 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 */