aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160/simplejava/SimpleI.java
blob: d1fa1316adb30cc99bb2d3ab7f76af338b6870d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.util.*;

interface I {}

class Sub implements I {}

class Sub2 implements I {
  public <N extends Number> int publicMethod(List<N> ns) { return 0; }
}

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

  public <N extends Number> int I.publicMethod(List<N> ns) { return ns.size(); }
}