JavaCompilerCore/examples/pl_usecases/Usecase_MUBTest2.jav

14 lines
173 B
Plaintext
Raw Permalink Normal View History

2013-10-18 11:33:46 +00:00
class A<a> { }
class B<a> extends A<a> {
f(x) {
a;
if (x) {
return new C<Integer>(); }
else {
return a; }
}
}
class C<a> extends B<A<a>> {}