summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/Parse5.java
blob: 30514a5d95c30e0b45a05a306c7e6781067a052a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// ITDs on generic types
public class Parse5<T,S extends Number> {}

aspect X {
  void Parse5.m1() {}

  void Parse5<Q,R>.m2() {}

  void Parse5<T,V>.m3() {}
 
  void Parse5<A,B,C>.m4() {} // error

  void Parse5<A>.m5() {} // error
  
  void Parse5<String,Integer>.m6() {} // error
}