org.aspectj/tests/bugs/AbstractPointcutCE.java
jhugunin 29457c3d6d fixes for Bugzilla Bug 40858
super-qualified pointcut reference cause weaver stack trace
and Bugzilla Bug 40814
	  	no error when defining interface pointcuts
2003-08-04 21:04:49 +00:00

17 righe
315 B
Java

/** @testcase PR#40814 compile error expected for pointcuts in interfaces
* revised to check for error on abstract pointcuts in interfaces or classes
**/
interface I {
abstract pointcut pc(); // CE
}
abstract class C {
abstract pointcut pc(); // CE
}
class Concrete {
abstract pointcut pc(); // CE
}