mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
20 lines
393 B
Java
20 lines
393 B
Java
public class CircularFolding {
|
|
static final int x = Hoo.x * 8;
|
|
|
|
public static void main(String[] args) {
|
|
switch (args.length) {
|
|
case x: System.err.println("this");
|
|
case Hoo.x: System.err.println("shouldn't");
|
|
case Goo.x: System.err.println("compile");
|
|
}
|
|
}
|
|
}
|
|
|
|
class Hoo {
|
|
static final int x = Goo.x - 3;
|
|
}
|
|
|
|
class Goo {
|
|
static final int x = 2 + CircularFolding.x;
|
|
}
|