fpc/tests/tbs/tb0476.pp
2005-02-14 17:13:06 +00:00

16 lines
173 B
ObjectPascal

const
e = 'as';
procedure p(const p);
begin
if pchar(@p)^<>'a' then
begin
writeln('error');
halt(1);
end;
end;
begin
p(e[1]);
end.