terecs5.pp 188 B

1234567891011121314151617
  1. { %fail}
  2. { %norun}
  3. program terecs5;
  4. {$mode delphi}
  5. type
  6. TFoo = record
  7. class procedure Test; // not allowed without static
  8. end;
  9. class procedure TFoo.Test;
  10. begin
  11. end;
  12. begin
  13. end.