fpc/tests/tbs/tb0376.pp

18 lines
188 B
ObjectPascal

{%OPT=-Sew}
{$mode objfpc}
function f: longint;
var
a: longint absolute result;
begin
a := 5;
end;
begin
if f<>5 then
begin
writeln('error!');
halt(1);
end;
end.