Sfoglia il codice sorgente

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

tags/v1_1_0_RC1
wisberg 21 anni fa
parent
commit
f76921c5e0
1 ha cambiato i file con 23 aggiunte e 0 eliminazioni
  1. 23
    0
      tests/errors/ClassExtendingAbstractAspectCE.java

+ 23
- 0
tests/errors/ClassExtendingAbstractAspectCE.java Vedi File

@@ -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…
Annulla
Salva