forked from JavaTX/JavaCompilerCore
26 lines
359 B
Java
26 lines
359 B
Java
class Main {
|
|
main () { return new MyInteger(); }
|
|
}
|
|
|
|
|
|
class A {
|
|
mt(x,y,z) { return x.sub(y); }
|
|
}
|
|
|
|
interface TVar_5 < TVar_16, TVar_15 > {
|
|
TVar_16 add ( TVar_15 x);
|
|
TVar_16 sub ( TVar_15 x);
|
|
}
|
|
|
|
|
|
class MyInteger implements TVar_5<MyInteger,MyInteger> {
|
|
|
|
MyInteger add( MyInteger x ) {
|
|
return x;
|
|
}
|
|
|
|
MyInteger sub( MyInteger x ) {
|
|
return x;
|
|
}
|
|
|
|
} |