aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr71159/pkg2/ITDInDiffPackage.aj
blob: fa44cbf8254cc53bff797860fa013c9685c7ac98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package pkg2;
import pkg1.*;

public aspect ITDInDiffPackage {
	
	void B.foo() {}
	
	void bar() {
		C c = new C();
		c.foo();
	}
	
	declare warning : call(* B.foo()) : "should not match";
	declare warning : call(* C.foo()) : "should match";
	
	
}