org.aspectj/tests/errors/FromJavac.java

15 lines
314 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
/**
* this class tries to contain an error that ajc will miss, and that will
* fall through to javac.
* this will need to be steadily updated as ajc catches more things
* the test is to be sure this isn't a silent error
*/
public class FromJavac {
public static void foo() {
int x;
int y = x;
}
}