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
29 lines
409 B
Kotlin
Vendored
29 lines
409 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// FILE: a/x.java
|
|
package a;
|
|
|
|
public class x {
|
|
|
|
public static final int I = 42;
|
|
public static final int I1 = 42;
|
|
public static final int I2 = I + I1;
|
|
|
|
}
|
|
|
|
// FILE: b/y.java
|
|
package b;
|
|
|
|
import static a.x.I;
|
|
|
|
public class y {
|
|
public static final int O = I;
|
|
}
|
|
|
|
// FILE: b/z.java
|
|
package b;
|
|
|
|
import static a.x.*;
|
|
|
|
public class z {
|
|
public static final int CONST = I + I1 + I2;
|
|
} |