61302a2e08
Also minimize scope of DiagnosticUsingJavac tests to `compiler/testData/diagnostics/tests/javac`. This is fine since javac compilation mode is still not finished and no one not going to support it
32 lines
356 B
Kotlin
Vendored
32 lines
356 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// FILE: a/x.java
|
|
package a;
|
|
|
|
public class x {
|
|
|
|
public class z {}
|
|
|
|
}
|
|
|
|
// FILE: a/y.java
|
|
package a;
|
|
|
|
public class y extends x {
|
|
|
|
public z getZ() { return null; }
|
|
|
|
public class d {
|
|
|
|
public z getZ() { return null; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// FILE: test.kt
|
|
package test
|
|
|
|
import a.y
|
|
|
|
fun test() = y().getZ()
|
|
fun test2() = y().d().getZ() |