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
41 lines
484 B
Kotlin
Vendored
41 lines
484 B
Kotlin
Vendored
// SKIP_JAVAC
|
|
// FILE: a/A.java
|
|
package a;
|
|
|
|
public class A {
|
|
public static class B {}
|
|
}
|
|
|
|
// FILE: a/D.java
|
|
package a;
|
|
|
|
public class D {
|
|
public static class B {}
|
|
}
|
|
|
|
// FILE: b/A1.java
|
|
package b;
|
|
|
|
import a.A.B;
|
|
import a.D.B;
|
|
|
|
public class A1 {
|
|
public B getB() { return null; }
|
|
}
|
|
|
|
// FILE: b/A2.java
|
|
package b;
|
|
|
|
import a.A.*;
|
|
import a.D.*;
|
|
|
|
public class A2 {
|
|
public B getB() { return null; }
|
|
}
|
|
|
|
// FILE: a.kt
|
|
package b
|
|
|
|
fun test() = A1().getB()
|
|
fun test2() = A2().getB()
|