blob: 380ef7501da9d4b5dddb8c95c02aff4888c8f956 [file] [log] [blame]
/*
* @test /nodynamiccopyright/
* @bug 5060485
* @summary The scope of a class type parameter is too wide
* @author Peter von der Ah\u00e9
* @compile/fail/ref=Neg1.out -XDrawDiagnostics Neg1.java
*/
public class Neg1<X extends Y> {
public static class Y {}
}