mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:07:56 +02:00
20 lines
250 B
ObjectPascal
20 lines
250 B
ObjectPascal
{ %OPT=-Sew}
|
|
{$INLINE ON}
|
|
{$ASSERTIONS ON}
|
|
program test;
|
|
|
|
procedure TestFunc();
|
|
begin
|
|
Assert(True);
|
|
end;
|
|
|
|
procedure TestFuncInline(); inline;
|
|
begin
|
|
Assert(True);
|
|
end;
|
|
|
|
begin
|
|
TestFunc();
|
|
TestFuncInline(); // Warning: unreachable code
|
|
end.
|