tw26749.pp 306 B

123456789101112131415161718192021222324252627
  1. { %NORUN }
  2. program tw26749;
  3. {$mode delphi}
  4. {$modeswitch advancedrecords}
  5. type
  6. { TVector3 }
  7. TVector3<T> = record
  8. class function null : TVector3<T>; static;
  9. end;
  10. TLine<T> = array[0..1] of TVector3<T>;
  11. { TVector3<T> }
  12. class function TVector3<T>.null : TVector3<T>;
  13. begin
  14. end;
  15. begin
  16. end.