summaryrefslogtreecommitdiffstats
path: root/tests/java5/varargs/Pr88652.aj
blob: bd3141cca76921edd8398de8facbd83f4851d016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public aspect Pr88652 {
	
	pointcut p(): call(Touple.new(..));
	
	declare warning: p() : "should match";
	
	public static void main(String[] args) {
		Touple t = new Touple(new Object());
		Touple t2 = new Touple(new Object(),new Object());
	}
}


class Touple {
	
	public Touple(Object formulaHandle, Object... propositions) {
		; // empty
	}
	
}