test/tools/javac/annotations/typeAnnotations/failures/common/receiver/WrongType.java

changeset 1755
ddb4a2bfcd82
parent 1521
71f35e4b93a5
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/annotations/typeAnnotations/failures/common/receiver/WrongType.java	Tue May 14 13:55:35 2013 -0700
     1.2 +++ b/test/tools/javac/annotations/typeAnnotations/failures/common/receiver/WrongType.java	Tue May 14 15:04:06 2013 -0700
     1.3 @@ -29,6 +29,10 @@
     1.4   * @compile/fail/ref=WrongType.out -XDrawDiagnostics WrongType.java
     1.5   */
     1.6  
     1.7 +import java.lang.annotation.ElementType;
     1.8 +import java.lang.annotation.Target;
     1.9 +
    1.10 +@Target(ElementType.TYPE_USE)
    1.11  @interface A {}
    1.12  
    1.13  class WrongType {

mercurial