summaryrefslogtreecommitdiffstats
path: root/tests/errors/FromJavac.java
blob: 93f9eeb445451d6b08603a64b6b9bd06027d861c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * 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;
    }
}