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.

CircularExtendsAspect.java 357B

12345678910111213141516171819
  1. import org.aspectj.testing.Tester;
  2. /**
  3. * @errors 18
  4. * @warnings
  5. */
  6. public class CircularExtendsAspect {
  7. public static void main(String[] args) {
  8. new CircularExtendsAspect().realMain(args);
  9. }
  10. public void realMain(String[] args) {
  11. Tester.check(false, "shouldn't have compiled");
  12. }
  13. }
  14. aspect Aspect extends Aspect {
  15. }