class X {
    fun foo() {
        class U {
            inner class K {
                inner class D {
                    fun check() {
                        class F {
                            inner class L
                        }
                    }
                }
            }

            class T
        }
    }
}