[TEST] Migrate duplicating javac tests to new test runners
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
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: a/x.java
|
||||
package a;
|
||||
|
||||
public class x {
|
||||
|
||||
public static final int I = 42;
|
||||
|
||||
public class Inner {
|
||||
|
||||
public static final int I2 = I;
|
||||
|
||||
public class Inner2 {
|
||||
public static final int I = x.I + I2;
|
||||
|
||||
public class Inner3 extends Inner {
|
||||
public static final int CONST = I;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static class Nested {
|
||||
public static final int I2 = I;
|
||||
|
||||
public static class Nested2 {
|
||||
public static final int I3 = I2;
|
||||
public static final int I4 = 42;
|
||||
|
||||
public class Inner {
|
||||
public static final int I5 = I4;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user