IR text: add a test with data object

This commit is contained in:
Mikhail Glukhikh
2023-05-03 17:04:23 +02:00
committed by Space Team
parent 98fb4f1f45
commit a86279b766
12 changed files with 189 additions and 0 deletions
@@ -0,0 +1,27 @@
data object DataObject {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
override fun toString(): String {
return "DataObject"
}
override fun hashCode(): Int {
return -1155894359
}
override operator fun equals(other: Any?): Boolean {
when {
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
}
when {
other !is DataObject -> return false
}
val tmp0_other_with_cast: DataObject = other as DataObject
return true
}
}