mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
17 lines
256 B
Kotlin
17 lines
256 B
Kotlin
// PROBLEM: none
|
|
// WITH_STDLIB
|
|
// COMPILER_ARGUMENTS: -Xopt-in=kotlin.RequiresOptIn
|
|
|
|
@RequiresOptIn
|
|
annotation class Marker
|
|
|
|
interface Base {
|
|
@Marker
|
|
fun foo()
|
|
}
|
|
|
|
class Derived : Base {
|
|
@OptIn(Marker::class<caret>)
|
|
override fun foo() {}
|
|
}
|