// RUN_PIPELINE_TILL: BACKEND
// ISSUE: KT-45730

@RequiresOptIn
annotation class MyInternal

abstract class BaseClass @MyInternal constructor()

class Subclass @MyInternal constructor(): <!OPT_IN_USAGE_ERROR!>BaseClass<!>()

/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, primaryConstructor */
