fpc/tests/webtbs/tw29923.pp
Jonas Maebe a5dba44fd3 * fixed sign extension for unaligned loads (mantis #29891, although that
code shouldn't use unaligned loads in the first place)

git-svn-id: trunk@33382 -
2016-03-29 14:52:27 +00:00

33 lines
268 B
ObjectPascal

{$mode objfpc}
{$r+}
type
tc = class
f: longint;
procedure test;
end;
procedure tc.test;
procedure nest;
var
l1: longint;
begin
f:=-1;
l1:=-1;
dec(f,l1*120);
end;
begin
nest;
end;
var
c: tc;
begin
c:=tc.create;
c.test;
c.free;
end.