tb0238.pp 393 B

1234567891011121314151617181920212223242526272829303132
  1. { Old file: tbs0278.pp }
  2. { (* in conditional code is handled wrong for tp,delphi OK 0.99.13 (PFV) }
  3. {$ifdef fpc}{$mode tp}{$endif}
  4. unit tb0238;
  5. interface
  6. {
  7. a string constant within $IFDEF that
  8. contains "(*" causes an error;
  9. compile it with "ppc386 test -So" or "-Sd"
  10. }
  11. var
  12. c : char;
  13. {$IFDEF not_defined}
  14. const
  15. c = 'b''(*
  16. { $else}
  17. var
  18. c : char;
  19. {$ENDIF}
  20. implementation
  21. end.