testdata for IDEA-116493

(cherry picked from commit 9270256d3bb30a40be89fee9609f49f288a69040)
This commit is contained in:
anna
2013-11-25 16:47:33 +01:00
parent 8d066a2b85
commit 79c9afb33c
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,11 @@
import java.util.List;
class Test {
void foo() {
List<List<?>> a = bar();
}
<T> List<List<T>> bar() {
return null;
}
}
@@ -331,6 +331,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase {
public void testIDEA71582() { doTest5(false); }
public void testIDEA65377() { doTest5(false); }
public void testIDEA113526() { doTest5(true); }
public void testIDEA116493() { doTest(LanguageLevel.JDK_1_7, JavaSdkVersion.JDK_1_7, false); }
public void testJavaUtilCollections_NoVerify() throws Exception {
PsiClass collectionsClass = getJavaFacade().findClass("java.util.Collections", GlobalSearchScope.moduleWithLibrariesScope(getModule()));