mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 04:39:29 +02:00
+ bug #876
This commit is contained in:
parent
4a66eb02e5
commit
d6280bbc38
25
tests/webtbs/tbug876.pp
Normal file
25
tests/webtbs/tbug876.pp
Normal file
@ -0,0 +1,25 @@
|
||||
{$OPT=-pg}
|
||||
|
||||
program test1;
|
||||
var
|
||||
i,j:longint;
|
||||
a,b:double;
|
||||
|
||||
procedure test;
|
||||
begin
|
||||
b:=1.0;
|
||||
i:=2;
|
||||
a:=b+3;
|
||||
j:=i div 2;
|
||||
end;
|
||||
|
||||
procedure test2;
|
||||
begin
|
||||
test;
|
||||
end;
|
||||
|
||||
begin
|
||||
test;
|
||||
test2;
|
||||
test;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user