diff --git a/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67672.java b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67672.java new file mode 100644 index 000000000000..939ce3fd197e --- /dev/null +++ b/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/IDEA67672.java @@ -0,0 +1,7 @@ +import java.util.Collection; +import java.util.List; + +interface A +{ + <T extends List & Collection> void foo(T x); +} \ No newline at end of file diff --git a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java index ed62423286be..07bfb9af9c9f 100644 --- a/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java +++ b/java/java-tests/testSrc/com/intellij/codeInsight/daemon/GenericsHighlightingTest.java @@ -136,6 +136,7 @@ public class GenericsHighlightingTest extends LightDaemonAnalyzerTestCase { public void testIDEA77991() throws Exception { doTest(false); } public void testIDEA80386() throws Exception { doTest(false); } public void testIDEA66311() throws Exception { doTest17Incompatibility(); } + public void testIDEA67672() throws Exception { doTest17Incompatibility(); } public void testIDEA88895() throws Exception { doTest17Incompatibility(); } public void testIDEA66311_16() throws Exception { doTest(false); } public void testIDEA76283() throws Exception { doTest(false); }