jdk-24/test/langtools/tools/javac/generics/rare/Rare7.java
2017-09-12 19:03:39 +02:00

23 lines
308 B
Java

/*
* @test /nodynamiccopyright/
* @bug 5024308
* @summary "rare" types
* @author gafter
*
* @compile/fail/ref=Rare7.out -XDrawDiagnostics Rare7.java
*/
package rare7;
class A<T> {
class B<U> {
T t;
}
static class C {
{
B<String> b = null;
}
}
}