bug0024.pp 290 B

123456789101112131415161718192021222324
  1. type
  2. charset=set of char;
  3. trec=record
  4. junk : array[1..32] of byte;
  5. t : charset;
  6. end;
  7. var
  8. tr : trec;
  9. tp : ^trec;
  10. procedure Crash(const k:charset);
  11. begin
  12. tp^.t:=[#7..#10]+k;
  13. end;
  14. begin
  15. tp:=@tr;
  16. Crash([#20..#32]);
  17. end.