de3f31cf78
No support for inheritance deprecations and deprecations in qualifier's parts
12 lines
287 B
Kotlin
Vendored
12 lines
287 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
@Deprecated("alas", level = DeprecationLevel.ERROR)
|
|
fun foo() {}
|
|
|
|
@Deprecated("alas", level = DeprecationLevel.ERROR)
|
|
class C
|
|
|
|
fun test(c: <!DEPRECATION_ERROR!>C<!>) {
|
|
<!DEPRECATION_ERROR!>foo<!>()
|
|
<!DEPRECATION_ERROR!>C<!>()
|
|
} |