JavaCompilerCore/examples/hoti/Test.jav

15 lines
223 B
Plaintext
Raw Normal View History

2013-10-18 11:33:46 +00:00
interface AA<a> {}
interface BB<a> {}
class CC implements AA<Integer>, BB<Character> {}
class BoundedTypeVar {
CC c;
<T extends AA<Integer> & BB<Character>> m(T x) {
m(new CC());
x = new CC();
}
}