mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
15 lines
280 B
Kotlin
Vendored
15 lines
280 B
Kotlin
Vendored
// !DIAGNOSTICS: -INCOMPATIBLE_MODIFIERS
|
|
// !RENDER_DIAGNOSTICS_MESSAGES
|
|
|
|
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS)
|
|
annotation class A
|
|
|
|
@A
|
|
open class B1 {
|
|
@A
|
|
private open fun foo() {}
|
|
}
|
|
|
|
class D1 : B1() {
|
|
override fun foo() {}
|
|
} |