summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/webtbs/tw2853e.pp
blob: 5d5324a4f96cd146e879a19f8da3cdd14923aa6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ 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.