JavaCompilerCore/examples/luar/WCParseTest.jav

20 lines
281 B
Plaintext
Raw Permalink Normal View History

import de.dhbwstuttgart.typeinference.Menge;
2013-10-18 11:33:46 +00:00
class WCTest{
void test()
{
Menge<Menge<? extends Sub1>> v1 = new Menge<Menge<Sub2>>();
2013-10-18 11:33:46 +00:00
}
}
class Sub1 {}
class Sub2 extends Sub1 {}
class Sub3 extends Sub2 {}
class N<x> {}
class Test<x> extends N<N<? extends x>> {}