// !LANGUAGE: +CustomEqualsInValueClasses, +ValueClasses value class BackingFields(val x: Int) { val y = 0 var z: String get() = "" set(value) {} } class Val { operator fun getValue(thisRef: Any?, kProp: Any?) = 1 } inline class DelegatedProp(val x: Int) { val testVal by Val() } inline class ReservedMembers(val x: Int) { fun box() {} fun unbox() {} override fun equals(other: Any?) = true override fun hashCode() = 1 } inline class ReservedMembersMfvc(val x: Int, val y: Int) { fun box() {} fun unbox() {} override fun equals(other: Any?) = true override fun hashCode() = 1 } inline class SecondaryConstructors(val x: Int) { constructor(y: String) : this(5) constructor(x: Int, y: String) : this(x) { } } value class WithInner(val x: String) { inner class Inner }