// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects sealed class Seal(val x: Int) object Foo : Seal(1)