1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-08-26 05:57:44 +02:00
org.aspectj/tests/errors/BadReferences.java
2002-12-16 18:51:06 +00:00

26 Zeilen
319 B
Java

aspect BadReferences {
public void main(String[] args) {
int x = C.x;
Object o = new C.Inner();
}
}
class C implements I1, I2 {
}
interface I1 {
public static int x = 1;
public static class Inner {
}
}
interface I2 {
public static int x = 2;
public static class Inner {
}
}