* add test for charray=nil

This commit is contained in:
peter 2003-01-07 19:36:05 +00:00
parent b49747a854
commit 7c22c8184b

View File

@ -3,10 +3,11 @@ var
pc : pchar; pc : pchar;
begin begin
a:='1'; a:='1';
if a=nil then
halt(1);
pc:=@a; pc:=@a;
if pc='1' then if pc<>'1' then
writeln('OK') halt(1);
else writeln('OK')
halt(1);
end. end.