JavaTXCompilerInJavaTX/test/bytecode/javFiles/Tph5.jav
Martin Plümicke 5f89188d00 new file: ../../test/bytecode/Tph5Test.java
new file:   ../../test/bytecode/javFiles/Tph5.jav
erzeugt Typfehler zur Laufzeit mit
mport java.util.Vector;

public class Tph5Use {
	public static  void main(String[] args) {
		Tph5 tph5 = new Tph5();
		Integer i = tph5.<Integer, Integer, Integer, Integer>m(1,2,3);
		String s = tph5.<String, String, Integer, Integer>m("xx",2,3);
	}
}
2018-08-13 18:19:02 +02:00

8 lines
66 B
Java

public class Tph5 {
m(a,b,c){
a = c;
b = c;
return a;
}
}