3789983e89
Reviewed-by: darcy, ihse
22 lines
282 B
Java
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;
|
|
}
|