aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features160/annotationValueMatching/ErrorOne.java
blob: aae8074d5c913d5520d5292a96848bbb01fcd467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import java.lang.annotation.*;

public class ErrorOne {
  public static void main(String[] args) { }
}

@interface Anno {
  float fval();
}

enum Color { RED,GREEN,BLUE };

// Non existent value of the annotation!
aspect X {	
    before(): execution(@Anno(ival=Color.GREEN) * *(..)) {}
}