Diagnostic tests: create fieldRename subDir and use it for related tests

Related to: KT-55846, KT-50082, KT-55436, KT-55017
This commit is contained in:
Mikhail Glukhikh
2023-01-10 13:34:37 +01:00
committed by Space Team
parent 35c0a3d391
commit f6bd4d5e15
18 changed files with 160 additions and 120 deletions
@@ -0,0 +1,27 @@
// FILE: A.java
package base;
class A {
public String f = "OK";
}
// FILE: B.kt
package base
open class B : <!EXPOSED_SUPER_CLASS!>A()<!> {
private val f = "FAIL"
}
// FILE: C.java
import base.B;
public class C extends B {}
// FILE: test.kt
fun box(): String {
return C().f
}