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

public class C {
  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){
  }
}