mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 00:58:09 +01:00
14 lines
200 B
ObjectPascal
14 lines
200 B
ObjectPascal
|
|
function test : string;
|
|
|
|
begin
|
|
test:='This should not be printed';
|
|
exit('this should be printed');
|
|
end;
|
|
|
|
begin
|
|
writeln(test);
|
|
if test<>'this should be printed' then
|
|
Halt(1);
|
|
end.
|