[FIR-TEST] Add new testdata generated after changes in previous commit

This commit is contained in:
Dmitriy Novozhilov
2019-12-11 16:16:22 +03:00
parent e9c02a1cca
commit 2536fa0cd5
4578 changed files with 104067 additions and 1 deletions
@@ -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
}
@@ -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"
}
@@ -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"
}
@@ -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"
}
@@ -0,0 +1,9 @@
interface ITop {
fun foo() {}
}
interface ILeft : ITop
interface IRight : ITop
interface IDerived : ILeft, IRight