fpc/tests/webtbs/tw9327.pp
Jonas Maebe 90b2d673df * fixed opt/cpu settings for test
git-svn-id: trunk@13041 -
2009-04-25 18:52:00 +00:00

24 lines
257 B
ObjectPascal

{ %opt=-Cg- }
{ %cpu=i386 }
program fpcbug;
{$asmmode intel}
type
TBla = record
Bla: Cardinal;
end;
var
b: tbla;
begin
asm
lea edi, b
mov eax, $12345678
mov TBla(edi).&Bla, eax
end;
if b.bla<>$12345678 then
halt(1);
end.