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 {