[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,35 @@
enum class A(val v: A) {
A1(A2),
A2(A1)
}
enum class D(val x: Int) {
D1(D2.x),
D2(D1.x)
}
enum class E(val v: Int) {
// KT-11769 related: there is no predictable initialization order for enum entry with non-companion object
E1(Nested.COPY);
object Nested {
val COPY = E1.v
}
}
// From KT-13322: cross reference should not be reported here
object Object1 {
val y: Any = Object2.z
object Object2 {
val z: Any = Object1.y
}
}
// From KT-6054
enum class MyEnum {
A, B;
val x = when(this) {
A -> 1
B -> 2
else -> 3
}
}