aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/GenericAspectE.aj
blob: 60bf8cd533f2b55a3932332ae116f9b84a77fc02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
abstract aspect GenericAspect<A> {

  declare parents: A implements IUtil;

  //public void IUtil<Z>.print(Z n) { System.err.println(n); }
}

interface IUtil<N extends Number> { }

aspect GenericAspectE extends GenericAspect<Base> {
  public static void main(String []argv) {
    Base b = new Base();
    // b.print("hello");
  }
}

class Base {}