e6d5df18b8
KT-54617
13 lines
408 B
Kotlin
Vendored
13 lines
408 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
@RequiresOptIn
|
|
annotation class ApiMarker
|
|
|
|
@SubclassOptInRequired(ApiMarker::class)
|
|
interface ToBeInheritedByDelegation
|
|
|
|
open class InheritingByDelegationA(arg: ToBeInheritedByDelegation): <!OPT_IN_USAGE_ERROR!>ToBeInheritedByDelegation<!> by arg
|
|
|
|
@SubclassOptInRequired(ApiMarker::class)
|
|
open class InheritingByDelegationB(arg: ToBeInheritedByDelegation): ToBeInheritedByDelegation by arg
|