// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_VARIABLE open class Super { inner open class Inner { open fun getOuter(): Super = throw UnsupportedOperationException() } } class Sub(): Super() { inner class SubInner : Super.Inner() { // 'Inner' is unresolved // Also, T1 is not resolved to anything, and not marked as resolved init { val x: Super.Inner = this // T1 is not resolved to anything } override fun getOuter(): Sub = throw UnsupportedOperationException() } }