<compile files="Privilege.java"/>
<run class="Privilege"/>
</ajc-test>
+
+ <ajc-test dir="new" pr="36736"
+ title="implemented abstract pointcut">
+ <compile files="AbstractImplementedPointcut.java">
+ <message kind="error" line="14"/>
+ </compile>
+ </ajc-test>
</suite>
--- /dev/null
+
+/** @testcase PR#36736 implemented abstract pointcut */
+public class AbstractImplementedPointcut {
+ public static void main(String[] args) {
+ new C().go();
+ }
+}
+
+class C {
+ void go(){}
+}
+
+abstract aspect A {
+ abstract pointcut pc() : call(void go()); // CE 14
+}
+
+aspect B extends A {
+ pointcut pc() : call(void go());
+ before() : pc() {
+ throw new Error("do not run");
+ }
+}