fpc/tests/tbf/tb0221.pp
2011-05-17 13:13:59 +00:00

15 lines
128 B
ObjectPascal

{ %fail }
{ should not crash the compiler }
type
tr = record
a,b: longint;
end;
var
r: tr;
begin
r[0].a:=1;
end.