forked from JavaTX/JavaCompilerCore
17 lines
249 B
Plaintext
17 lines
249 B
Plaintext
|
|
||
|
public class TestSimpleClassesWithBoundedGenericsNegative<T extends java.lang.Number> {
|
||
|
|
||
|
public m(T x) {
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
class A {
|
||
|
public m1() {
|
||
|
x;
|
||
|
x = new TestSimpleClassesWithBoundedGenericsNegative<String>();
|
||
|
return x.m("abc");
|
||
|
|
||
|
}
|
||
|
}
|