summaryrefslogtreecommitdiff
path: root/tests/tbs/tb0376.pp
blob: 5e14f8599a7eb5b4b74f276306bcc29ccf26d505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{%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.