forked from JavaTX/JavaCompilerCore
17 lines
249 B
Java
Executable File
17 lines
249 B
Java
Executable File
|
|
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");
|
|
|
|
}
|
|
} |