summaryrefslogtreecommitdiffstats
path: root/tests/bugs173/lyor/Code.java
blob: 50b3726278b36a4733bbedaa2170aaa7e91eb7c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@interface Foo {}

aspect A {
  declare @method: void *.getName(): @Foo;
  public void Intface.getName() { }
}

interface Intface { }

class C implements Intface {}