mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 10:48:30 +02:00
15 lines
217 B
ObjectPascal
15 lines
217 B
ObjectPascal
{ %FAIL }
|
|
{ Old file: tbf0151.pp }
|
|
{ crash when using undeclared variable in withstatement OK 0.99.7 (PFV) }
|
|
|
|
type tr = record
|
|
l1, l2: longint
|
|
end;
|
|
|
|
var r: tr;
|
|
|
|
begin
|
|
with r do
|
|
inc(l)
|
|
end.
|