blob: 99791588ab3e18e690f4aa458825772cfa2ebcbf [file]
// RUN_PIPELINE_TILL: FRONTEND
interface SuperInterface
open class SuperClass
<!INCOMPATIBLE_MODIFIERS!>abstract<!> <!INCOMPATIBLE_MODIFIERS!>data<!> class Base(val x: Int)
class Derived: Base(42)
<!DATA_CLASS_OVERRIDE_CONFLICT!>data<!> class Nasty(val z: Int, val y: Int): Base(z)
data class Complex(val y: Int): SuperInterface, SuperClass()
<!DATA_CLASS_OVERRIDE_CONFLICT!>data<!> class SubData(val sss: String) : <!FINAL_SUPERTYPE!>Complex<!>(42)
/* GENERATED_FIR_TAGS: classDeclaration, data, integerLiteral, interfaceDeclaration, primaryConstructor,
propertyDeclaration */