blob: b57cb0f18119d58473cedd5699ce02f7dc98d119 [file]
// RUN_PIPELINE_TILL: FRONTEND
interface P<U, Y>
class A<T> {
class B {
fun test() {
class C<W>() : P<W, <!UNRESOLVED_REFERENCE!>T<!>> {
<!WRONG_MODIFIER_CONTAINING_DECLARATION!>companion<!> object : P<W, <!UNRESOLVED_REFERENCE!>T<!>> {
}
inner class D : P<W, <!UNRESOLVED_REFERENCE!>T<!>>
}
}
}
}
/* GENERATED_FIR_TAGS: classDeclaration, companionObject, functionDeclaration, inner, interfaceDeclaration, localClass,
nestedClass, nullableType, objectDeclaration, primaryConstructor, typeParameter */