aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs188/defaultMethods/Code.java
blob: a162fe75ebb5841e34035a9add5cf4150ecc2b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public class Code implements I {
  public static void main(String[] argv) {
    new Code().m();
  }
}
aspect X {
  void around(): execution(* I.*()) {
    System.out.println("a");
    proceed();
  }
}

interface I {
  default void m(){
    System.out.println("b");
  }
}