aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs169/pr314965/MinimalExample.java
blob: 171694cec0ca9e3a4e061f7d2b08ee583d3d3b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
public aspect MinimalExample {
    declare @type : @AnnotationWithParam("arg") * : @AnnotationWithParam2("gra");
    // the following lines leads to a misleading compiler error
    declare @type : @AnnotationWithParamAndTypo("arg") * : @AnnotationWithParam2("gra");
}

@interface AnnotationWithParam {
    String value();
}

@interface AnnotationWithParam2 {
    String value();
}