langtools/test/tools/javac/typeAnnotations/failures/target/NotTypeParameter.java
changeset 7093 67ef650c64e0
parent 7092 e575c68c6393
parent 7085 2e876e59938a
child 7094 fa550ae6eb32
child 7222 f6fcecbb6a24
--- a/langtools/test/tools/javac/typeAnnotations/failures/target/NotTypeParameter.java	Fri Oct 29 16:00:29 2010 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-/*
- * @test /nodynamiccopyright/
- * @bug 6843077
- * @summary test invalid location of TypeUse
- * @author Mahmood Ali
- * @compile/fail/ref=NotTypeParameter.out -XDrawDiagnostics -source 1.7 NotTypeParameter.java
- */
-
-import java.lang.annotation.Target;
-import java.lang.annotation.ElementType;
-
-class VoidMethod<@A K> {
-  @A void test() { }
-}
-
-@Target(ElementType.TYPE_USE)
-@interface A { }