mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 00:29:24 +02:00
* inline test with ppu load
This commit is contained in:
parent
bbf7300a0c
commit
795b479d7b
14
tests/tbs/tb0461.pp
Normal file
14
tests/tbs/tb0461.pp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{ %version=1.1 }
|
||||||
|
{ %recompile }
|
||||||
|
|
||||||
|
uses ub0461;
|
||||||
|
|
||||||
|
procedure p;
|
||||||
|
begin
|
||||||
|
p1;
|
||||||
|
end;
|
||||||
|
|
||||||
|
begin
|
||||||
|
p;
|
||||||
|
end.
|
||||||
|
|
15
tests/tbs/ub0461.pp
Normal file
15
tests/tbs/ub0461.pp
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
unit ub0461;
|
||||||
|
{$inline on}
|
||||||
|
interface
|
||||||
|
procedure p1;inline;
|
||||||
|
implementation
|
||||||
|
procedure p1;inline;
|
||||||
|
var
|
||||||
|
i,k : longint;
|
||||||
|
begin
|
||||||
|
i:=20;
|
||||||
|
k:=i*10;
|
||||||
|
writeln('hello ',k);
|
||||||
|
end;
|
||||||
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user