summaryrefslogtreecommitdiffstats
path: root/tests/bugs154/pr169432/case2/A.java
blob: b5f533caf5ccd32e8f3d72c0f492fccff7cb48e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Should error, the types C1 and C2 don't implement the interface and no defaultImpl was supplied

import org.aspectj.lang.annotation.*;

@Aspect class X {
  @DeclareParents(value="C*")
  public NonMarkerInterface nmi;
}

interface NonMarkerInterface {
  public int m();
}

class Y implements NonMarkerInterface {
  public Y() {}
  public int m() { return 43;}
}

class C1 {

}

class C2 {

}