# testing a class that is generic with a constraint, inheritance and interface implementation class B where T must be IA inherits A implements IB, IC pass interface IA pass interface IB pass interface IC pass class A pass class Program def main is shared pass