aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/interSpecials/p2/A2.java
blob: 003e35486bdb0463591af2196bb33284cef56045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package p2;

import p1.C;
public class A2 {
	public static void main(String[] args) {
		new C().foo();
		new C().bar();
	}
}

aspect InterClass {
	void C.foo() {
		assert(C.class != null);
	}
	
	void around(): execution(void C.bar()) {
		assert(C.class != null);
		proceed();
	}
}