JavaTXCompilerInJavaTX/test/plugindevelopment/MartinTestCases/OL2.jav

20 lines
231 B
Plaintext
Raw Normal View History

import de.dhbwstuttgart.typeinference.Menge;
2014-04-23 15:59:59 +00:00
class OL2 {
Integer m(Integer x) { return x + x; }
Boolean m(Boolean x) {return x || x; }
}
class Main {
main(x) {
ol;
ol = new OL2();
y;
y.add(ol.m(x));
2014-04-23 15:59:59 +00:00
}
}