fpc/tests/webtbs/tw2853d.pp
2004-03-01 03:31:37 +00:00

23 lines
459 B
ObjectPascal

{ OPT= -dloop }
{ bug report variant, check that it works in
TP mode , added by Pierre }
{ Source provided for Free Pascal Bug Report 2853 }
{ Submitted by "Bj”rn Hendriks" on 2003-12-18 }
{ e-mail: bjoern.hendriks.ext_ese@ts.siemens.de }
program test;
begin
WriteLn('abc');
{$ifdef LOOP}
WriteLn('def');
{ {}
{$endif, this endif should be ignored,
as it is inside a comment}
(* *)
}
WriteLn('ghi');
{$endif LOOP}
WriteLn('test');
end.