JavaCompilerCore/resources/AllgemeinTest/Box.jav

14 lines
140 B
Java

class Box<A>{
void m(A a){}
}
class B { }
class Box_Main extends B {
m(b) {
b.m(new Box_Main());
b.m(new B());
}
}