You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. import org.aspectj.testing.*;
  2. public class Goto {
  3. public static void main(String[] args) {
  4. int goto = 13;
  5. Tester.check(false, "shouldn't have compiled");
  6. }
  7. public static void testme1() {
  8. int i = goto + 1;
  9. int j = Goto.goto + 1;
  10. }
  11. public static void testme2() {
  12. int j = Goto.goto + 1;
  13. }
  14. }