// PROBLEM: none // COMPILER_ARGUMENTS: -XXLanguage:+DataObjects class Foo { companion object Named { override fun toString(): String = "Named" } }