aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/decp/Basic2.aj
blob: fce3eceb78ee022547f928ddb811ed9e493e2367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// error, can't implement two variants of a generic type
interface I<T>{ }

public class Basic2 implements I<String> {

  public static void main(String[]argv) {
  }
}

aspect X{
    declare parents: Basic2 implements I<Integer>; // error
}