aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/Goto.java
blob: a597eb78940e10181bb144b807a60f3f1009b68d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.testing.*;
public class Goto {
    public static void main(String[] args) {
        int goto = 13;
        Tester.check(false, "shouldn't have compiled");
    }
    
    public static void testme1() {
        int i = goto + 1;
        int j = Goto.goto + 1;
    }

    public static void testme2() {
        int j = Goto.goto + 1;
    }
}