// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
@file:OptIn(ExperimentalSubclassOptIn::class)

@RequiresOptIn(message = "API Unstable!", level = RequiresOptIn.Level.WARNING)
annotation class ApiMarker

@SubclassOptInRequired(ApiMarker::class)
open class OpenKlass

@ApiMarker
open class OpenApiKlass

open class OpenKlassInheritor :
    <!OPT_IN_TO_INHERITANCE("ApiMarker; This class or interface requires opt-in to be implemented: API Unstable!")!>OpenKlass<!>()
open class OpenApiKlassInheritor : <!OPT_IN_USAGE("ApiMarker; API Unstable!")!>OpenApiKlass<!>()

fun check(klass: <!OPT_IN_USAGE("ApiMarker; API Unstable!")!>OpenApiKlass<!>){}

/* GENERATED_FIR_TAGS: annotationDeclaration, annotationUseSiteTargetFile, classDeclaration, classReference,
functionDeclaration, stringLiteral */
