blob: 753e1cf66673929d3951852a19bb15e1d36b0646 [file]
// WITH_STDLIB
package com.example
import kotlin.test.*
data object DataObject {
data object Inner
}
fun box(): String {
assertEquals(DataObject.hashCode(), DataObject.hashCode())
assertNotEquals(DataObject.hashCode(), DataObject.Inner.hashCode())
assertNotEquals(0, DataObject.hashCode())
assertNotEquals(0, DataObject.Inner.hashCode())
return "OK"
}