bug0278.pp 293 B

1234567891011121314151617181920212223242526272829
  1. {$ifdef fpc}{$mode tp}{$endif}
  2. unit bug0278;
  3. interface
  4. {
  5. a string constant within $IFDEF that
  6. contains "(*" causes an error;
  7. compile it with "ppc386 test -So" or "-Sd"
  8. }
  9. var
  10. c : char;
  11. {$IFDEF not_defined}
  12. const
  13. c = 'b''(*
  14. { $else}
  15. var
  16. c : char;
  17. {$ENDIF}
  18. implementation
  19. end.