author | sogoel |
Thu, 28 Aug 2014 23:42:16 -0700 | |
changeset 26273 | 2663ad455e00 |
parent 5520 | 86e4b9a9da40 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
26273
2663ad455e00
8049126: golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 4901271 |
4 |
* @summary <at>Target |
|
5 |
* @author gafter |
|
6 |
* |
|
26273
2663ad455e00
8049126: golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
7 |
* @compile/fail/ref=DupTarget.out -XDrawDiagnostics DupTarget.java |
10 | 8 |
*/ |
9 |
||
26273
2663ad455e00
8049126: golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
10 |
import static java.lang.annotation.ElementType.*; |
2663ad455e00
8049126: golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
11 |
|
10 | 12 |
@java.lang.annotation.Target({TYPE, FIELD, PACKAGE, FIELD}) |
13 |
@interface DupTarget { |
|
14 |
} |