Files

8 lines
133 B
Plaintext

// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects
open class Base {
open protected fun foo() = "Base"
}
data object Foo : Base()