fpc/tests/tbs/tb0008.pp
fpc 790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00

17 lines
372 B
ObjectPascal

{ Old file: tbs0011.pp }
{ tests div/mod bugs, where edx is scrambled, if a called procedure does a div/mod OK 0.9.2 }
{$message don't know how to make a test from bug0011 (PM)}
var
vga : array[0..320*200-1] of byte;
procedure test(x,y : longint);
begin
vga[x+y mod 320]:=random(256);
vga[x+y mod 320]:=random(256);
end;
begin
end.