Selaa lähdekoodia

?? regenerated file missing from my system but used in test case

tags/v1_1_0_RC1
wisberg 21 vuotta sitten
vanhempi
commit
f76921c5e0
1 muutettua tiedostoa jossa 23 lisäystä ja 0 poistoa
  1. 23
    0
      tests/errors/ClassExtendingAbstractAspectCE.java

+ 23
- 0
tests/errors/ClassExtendingAbstractAspectCE.java Näytä tiedosto

@@ -0,0 +1,23 @@
import org.aspectj.testing.*;

public class ClassExtendingAbstractAspectCE {
public static void main(String[] args) {
new ClassExtendingAbstractAspectCE().go(args);
}

void go(String[] args) {
Extends e = new Extends();
Tester.check(false, "shouldn't have compiled!");
}

}

abstract aspect Aspect {

}


class Extends extends Aspect { // CE 20
pointcut p(): call(* *());
}


Loading…
Peruuta
Tallenna