tw1681.pp 412 B

12345678910111213141516171819
  1. { %OPT=-vw -Sew }
  2. { %FAIL }
  3. { The above options transform warnings into errors }
  4. { so that the warning about unsupported Dlphi
  5. mode becomes an error }
  6. { Source provided for Free Pascal Bug Report 1681 }
  7. { Submitted by "Boris Bukh" on 2001-11-13 }
  8. { e-mail: [email protected] }
  9. program Mode_Bug;
  10. {$MODE Dlphi}
  11. var i:integer;
  12. {$MODE FPC}
  13. j:Integer;
  14. begin
  15. WriteLn(SizeOf(i));
  16. WriteLn(SizeOf(j));
  17. end.