[FIR-TEST] Add new testdata generated after changes in previous commit
This commit is contained in:
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
abstract class ALeft {
|
||||
abstract fun foo()
|
||||
}
|
||||
|
||||
interface IRight {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
class CDerived : ALeft(), IRight
|
||||
@@ -0,0 +1,13 @@
|
||||
interface ILeft {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
interface IRight {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
interface IDerived : ILeft, IRight
|
||||
|
||||
class CDerived : ILeft, IRight
|
||||
|
||||
abstract class ADerived : ILeft, IRight
|
||||
@@ -0,0 +1,13 @@
|
||||
interface ILeft {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
interface IRight {
|
||||
fun foo()
|
||||
}
|
||||
|
||||
interface IDerived : ILeft, IRight
|
||||
|
||||
class CDerived : ILeft, IRight
|
||||
|
||||
abstract class ADerived : ILeft, IRight
|
||||
@@ -0,0 +1,5 @@
|
||||
interface IA {
|
||||
fun toString(): String = "IB"
|
||||
|
||||
override fun equals(other: Any?): Boolean
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
interface IA {
|
||||
override fun toString(): String = "IA"
|
||||
|
||||
override fun equals(other: Any?): Boolean = super.equals(other)
|
||||
|
||||
override fun hashCode(): Int {
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
interface IC {
|
||||
fun toString(x: String): String = "IC$x"
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
interface IA
|
||||
|
||||
interface IB : IA {
|
||||
override fun toString(): String = "IB"
|
||||
}
|
||||
|
||||
interface IC : IB {
|
||||
override fun toString(): String = "IC"
|
||||
}
|
||||
|
||||
interface ID : IC {
|
||||
override fun toString(): String = "ID"
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
interface ILeft {
|
||||
override fun toString(): String
|
||||
}
|
||||
|
||||
interface IRight {
|
||||
override fun toString(): String
|
||||
}
|
||||
|
||||
interface IDiamond : ILeft, IRight {
|
||||
override fun toString(): String = "IDiamond"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
interface ITop {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
interface ILeft : ITop
|
||||
|
||||
interface IRight : ITop
|
||||
|
||||
interface IDerived : ILeft, IRight
|
||||
Reference in New Issue
Block a user