blob: b3f6dc696c3bd784ade5443cc338382e13379c4b [file]
// RUN_PIPELINE_TILL: FRONTEND
@RequiresOptIn
annotation class A
@A
open class C {
fun member() {}
}
fun foo(f: <!OPT_IN_USAGE_ERROR!><!OPT_IN_USAGE_ERROR!>C<!>.() -> Unit<!>) {}
fun test() {
<!OPT_IN_USAGE_ERROR!>foo<!> {
<!OPT_IN_USAGE_ERROR!>member<!>()
}
}
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, functionDeclaration, functionalType, lambdaLiteral,
typeWithExtension */