14 lines
329 B
Kotlin
Vendored
14 lines
329 B
Kotlin
Vendored
// FIR_DISABLE_LAZY_RESOLVE_CHECKS
|
|
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
|
|
@Deprecated("", level = DeprecationLevel.HIDDEN)
|
|
open class Foo
|
|
|
|
fun test(f: <!DEPRECATION_ERROR!>Foo<!>) {
|
|
f.toString()
|
|
val g: <!DEPRECATION_ERROR!>Foo<!>? = <!DEPRECATION_ERROR!>Foo<!>()
|
|
}
|
|
|
|
class Bar : <!DEPRECATION_ERROR!>Foo<!>()
|