1/*
2 * @test /nodynamiccopyright/
3 * @bug 7020657 6985719
4 *
5 * @summary  Javac rejects a fairly common idiom with raw override and interfaces
6 * @author Maurizio Cimadamore
7 * @compile/fail/ref=T7020657neg.out -XDrawDiagnostics T7020657neg.java
8 *
9 */
10
11import java.util.*;
12
13class T7020657neg {
14    interface A {
15        int get(List<String> l);
16    }
17
18    interface B  {
19        int get(List<Integer> l);
20    }
21
22    interface C extends A, B { }
23}
24