langtools/test/tools/javac/typeAnnotations/failures/target/NotTypeParameter.java
changeset 7083 f6bd6c4fcf54
parent 7070 4fd2b103e010
parent 7082 b36c199d8de8
child 7084 ea14efe08312
--- a/langtools/test/tools/javac/typeAnnotations/failures/target/NotTypeParameter.java	Thu Nov 04 15:54:46 2010 -0700
+++ /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 { }