mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 22:09:18 +02:00
qlunits: remove word alignment test from sysvar test, as there are byte-sized vars, which are not aligned
git-svn-id: trunk@49395 -
This commit is contained in:
parent
94693e5f70
commit
7b03bac5d6
@ -40,7 +40,7 @@ var
|
||||
begin
|
||||
actual_offset:=pbyte(test.sysvar)-pbyte(@system_vars);
|
||||
writeln(test.name,' at: ',actual_offset,' $',hexstr(actual_offset,3));
|
||||
check_sysvar_offset:=(actual_offset = align(actual_offset,2)) and (test.offset = actual_offset);
|
||||
check_sysvar_offset:=(test.offset = actual_offset);
|
||||
end;
|
||||
|
||||
function test_sysvar_offsets: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user