JavaCompilerCore/examples/luar/WCTest9.jav
2013-10-18 13:33:46 +02:00

14 lines
207 B
Java
Executable File

Subtype Pair<a,b>
/* nochmals pruefen koennte aber stimmen */
class Number {}
class Integer extends Number {}
class Vector<a> { }
class Pair<a,b> { }
class Subtype extends Pair<Integer,Integer> { }