
class GenericsTest23ClassA <T extends int>
{
    T field;
    Array<T> field2;

    GenericsTest23ClassA() {
        self.field = T->toClass().newInstance();
        self.field.setValue(123);

        self.field2 = Array<T>->toClass().newInstance();
        self.field2.add(123);
        self.field2.add(456);
    }
}
