fpc/bugs/bug0024.pp
1998-03-25 11:26:49 +00:00

24 lines
290 B
ObjectPascal

type
charset=set of char;
trec=record
junk : array[1..32] of byte;
t : charset;
end;
var
tr : trec;
tp : ^trec;
procedure Crash(const k:charset);
begin
tp^.t:=[#7..#10]+k;
end;
begin
tp:=@tr;
Crash([#20..#32]);
end.