bug0251.pp 336 B

12345678910111213141516171819202122
  1. const
  2. c : byte = 5;
  3. r : real = 3.4;
  4. var
  5. l : longint;
  6. cc : char;
  7. rr : real;
  8. begin
  9. l:=longint(@r);
  10. if (l mod 4)<>0 then
  11. begin
  12. Writeln('static const are not aligned properly !');
  13. end;
  14. l:=longint(@rr);
  15. if (l mod 4)<>0 then
  16. begin
  17. Writeln('static var are not aligned properly !');
  18. end;
  19. end.