1/*
2 * @test /nodynamiccopyright/
3 * @bug 5060485
4 * @summary The scope of a class type parameter is too wide
5 * @author Peter von der Ah\u00e9
6 * @compile/fail/ref=Neg2.out -XDrawDiagnostics Neg2.java
7 */
8
9public class Neg2<X extends X> {
10}
11