fpc/bugs/bug0278.pp
1999-07-24 11:29:47 +00:00

30 lines
293 B
ObjectPascal

{$ifdef fpc}{$mode tp}{$endif}
unit bug0278;
interface
{
a string constant within $IFDEF that
contains "(*" causes an error;
compile it with "ppc386 test -So" or "-Sd"
}
var
c : char;
{$IFDEF not_defined}
const
c = 'b''(*
{ $else}
var
c : char;
{$ENDIF}
implementation
end.