testdata for IDEA-89771

This commit is contained in:
Anna Kozlova
2012-08-07 19:38:08 +04:00
parent 524eb36871
commit 2d2a52650c
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
public @interface MyAnnotation {
Class<? extends Enum<?>> enumClass() default <error descr="Incompatible types. Found: 'java.lang.Class<java.lang.Enum>', required: 'java.lang.Class<? extends java.lang.Enum<?>>'">Enum.class</error>;
}

View File

@@ -136,6 +136,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIllegalGenericTypeInInstanceof() throws Exception {doTest(false);}
public void testIDEA57339() throws Exception {doTest(false);}
public void testIDEA57340() throws Exception {doTest(false);}
public void testIDEA89771() throws Exception {doTest(false);}
public void testInconvertibleTypes() throws Exception {doTest(false);}
public void testJavaUtilCollections_NoVerify() throws Exception {