aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/GenericMethod/C.java
blob: 01751d898a61592505b5e622914f93519eb1e276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.util.List;

public class C {
	public <T> C(T b){
  }
  
  public <T> T returnT(T a){
	  return a;
  }
  
  public <Q extends List> Q returnQ(Q a){
	  return a;
  }
  
  public <T, Q> void doubleGeneric(Q a, T b){
  }
}