aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs164/pr262257/C.java
blob: ea588ae4c8e761ac3d74add810a38d0f69b85f40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.util.*;

interface I {
	public <T> List<T> getStuff();
}

class C<D extends Set> implements I {
	public <T extends D> List<T> getStuff(){
		return new LinkedList<T>();
	}
}

aspect X {
	public <T> List<T> I.getStuff(){
		return new ArrayList<T>();
	}
}