aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/abstractMethods/singlesource/C2.java
blob: 545fc9daab2550290feb59a7484284e9291e6767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
abstract class B {}
 
aspect A {
  public abstract void B.m();

  public static void doit(B b) { b.m(); }
}

public class C2 extends B {
  public static void main(String[] args) {
    A.doit(new C2());
  }
  
  public void m() {}
}