class Outer { private data class Nested(val v: Int) fun foo(): Nested { return Nested() } } // ELEMENT: Nested