mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:39:25 +02:00
* moe tests
This commit is contained in:
parent
831a8a275f
commit
d2e73e010e
22
tests/webtbs/tw2853d.pp
Normal file
22
tests/webtbs/tw2853d.pp
Normal file
@ -0,0 +1,22 @@
|
||||
{ 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.
|
||||
|
21
tests/webtbs/tw2853e.pp
Normal file
21
tests/webtbs/tw2853e.pp
Normal file
@ -0,0 +1,21 @@
|
||||
{ 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.
|
||||
|
Loading…
Reference in New Issue
Block a user