fpc/tests/test/opt/tarmshift.pp
pierre ddf0aab494 Explicitly disabled overflow and range check
git-svn-id: trunk@39267 -
2018-06-21 04:56:32 +00:00

17 lines
176 B
ObjectPascal

{ %opt=-O2 }
{ Explicitly disable overflow and range checks }
{$Q-}
{$R-}
var
i : longint;
begin
i:=1234;
i:=i shl 23;
i:=i shl 23;
if i<>0 then
halt(1);
end.