aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/PointcutsInInterfaces.aj
blob: 18e825c979a424e1fb3d4ea45c4c4adf440970fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public interface PointcutsInInterfaces {
	
	public pointcut foo() : execution(* *(..));
	
}

class C {
	void foo() {}
}

aspect A {
	
	declare warning : PointcutsInInterfaces.foo() : "aha!";
	
}