JavaCompilerCore/test/bytecode/Generics.jav

15 lines
231 B
Plaintext
Raw Normal View History

2017-12-20 14:04:03 +00:00
class Generics<B> {
B mt1(B b){
return mt1(b);
}
}
/*
Problem:
auto test = new List<String>();
auto test2 = new List<Integer>();
... //code, welcher möglicherweise test und test2 vertauscht
test.add("hallo");
*/