2015-05-15 09:30:55 -07:00

22 lines
282 B
Java

/*
* @test /nodynamiccopyright/
* @bug 5024308
* @summary "rare" types
* @author gafter
*
* @compile/fail/ref=Rare3.out -XDrawDiagnostics Rare3.java
*/
package rare3;
class A<T> {
class B<U> {
}
static class C<V> {
}
}
class Main {
A.B<String> ab2;
}