[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,5 @@
class C {
companion object {}
val Companion = C
}
@@ -0,0 +1,8 @@
class C {
companion object {
val X = 1
val `X$1` = 1
}
val X = 1
}
@@ -0,0 +1,13 @@
class B {
companion object A {
}
val A = this
}
class C {
companion object A {
val A = this
}
}
@@ -0,0 +1,5 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
data class C(val c: Int) {
fun `copy$default`(c: C, x: Int, m: Int, mh: Any) = C(this.c)
}
@@ -0,0 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
fun `a$default`(c: C, x: Int, m: Int, mh: Any) {}
fun a(x: Int = 1) {}
}
@@ -0,0 +1,5 @@
interface Foo
class Bar(f: Foo) : Foo by f {
val `$$delegate_0`: Foo? = null
}
@@ -0,0 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
enum class E {
A;
fun values(): Array<E> = null!!
fun valueOf(s: String): E = null!!
}
@@ -0,0 +1,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class C {
inner class D {
val `this$0`: C? = null
}
}
@@ -0,0 +1,3 @@
object O {
val INSTANCE: O = null!!
}
@@ -0,0 +1,13 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
import kotlin.reflect.KProperty
operator fun Any.getValue(x: Any?, y: Any): Any = null!!
class C {
val x by 1
val `$$delegatedProperties`: Array<KProperty<*>> = null!!
}
val x by 1
val `$$delegatedProperties`: Array<KProperty<*>> = null!!