tw37187.pp 234 B

12345678910111213141516171819
  1. { %NORUN }
  2. program tw37187;
  3. {$mode objfpc}
  4. type
  5. generic TTest<T: class> = class
  6. arr: array[0..SizeOf(T)] of Byte;
  7. end;
  8. generic TTest2<T: class> = class
  9. public type
  10. TTestT = specialize TTest<T>;
  11. end;
  12. begin
  13. end.