aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/AbstractPointcutCE.java
blob: 898a72b0a10c6041fb3409a5daea4bc565811f15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** @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
}