22 lines
282 B
Java
Raw Normal View History

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