mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 17:28:16 +02:00

the outcome of the original and the optimised sequence and seeing whether it's same + test git-svn-id: trunk@25776 -
16 lines
154 B
ObjectPascal
16 lines
154 B
ObjectPascal
{ %opt=-O2 }
|
|
procedure test;
|
|
var
|
|
a, b: cardinal;
|
|
begin
|
|
a:=$ffffffff;
|
|
b:=(a shr 24) and $3f;
|
|
if b<>$3f then
|
|
halt(1);
|
|
end;
|
|
|
|
begin
|
|
test;
|
|
end.
|
|
|