org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Bug527532.java
raw| 1 | package targets.negative.pa; |
| 2 | |
| 3 | import java.lang.annotation.ElementType; |
| 4 | import java.lang.annotation.Target; |
| 5 | |
| 6 | @Target(ElementType.TYPE_USE) |
| 7 | @interface A { |
| 8 | |
| 9 | } |
| 10 | |
| 11 | // There is no dedicated annotation processor for this class, other process where crashing because of the syntax error (void as field type) |
| 12 | public class Bug527532 { |
| 13 | @A void f; |
| 14 | } |