aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr197719/B.java
blob: cb5e2ffcf21889d0fbfdfe96bd229d19f0b144fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package b;

public class B extends a.A {
  protected class Inner {
    public void foo() {
      System.out.println("calling m()");
      m();
    }
  }

  public static void main(String []argv) {
    B b = new B();
    b.run();
  }

  public void run() {
    new Inner().foo();
  }
}