diff --git a/compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/IncorrectApplicability.kt b/compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/IncorrectApplicability.kt index 37cd477d4f1..e55f3eae4ce 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/IncorrectApplicability.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/annotations/subclassOptInRequired/IncorrectApplicability.kt @@ -95,5 +95,10 @@ class OuterKlass { @SubclassOptInRequired(ApiMarker::class) sealed interface NestedSealedInterface - } + +interface Interface + +@SubclassOptInRequired(ApiMarker::class) +typealias TypeAlias = Interface +