summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/opt/tarmshift.pp
blob: 2dec2b7a5fa31f2fe1ce0c32b7ec5208e1d1b63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ %norun }
{ %opt=-O2 }
var
  i : longint;

begin
  i:=1234;
  i:=i shl 23;
  i:=i shl 23;
  if i<>0 then
    halt(1);
end.