forked from JavaTX/JavaCompilerCore
14 lines
236 B
Java
Executable File
14 lines
236 B
Java
Executable File
class A<T>{
|
|
|
|
}
|
|
|
|
public class TestNestedGenerics{
|
|
<T extends A<C>,C> void foo(T a,C b){}
|
|
|
|
void m(){
|
|
TestNestedGenerics t = new TestNestedGenerics();
|
|
String str = new String();
|
|
A<String> a = new A<String>();
|
|
t.foo(a,str);
|
|
}
|
|
} |