+ Test for locally initialized variables

This commit is contained in:
michael 2003-01-02 11:19:42 +00:00
parent fbd28675c9
commit 780b31cdb3

18
tests/test/tinivar.pp Normal file
View File

@ -0,0 +1,18 @@
{ %VERSION=1.1 }
program tinivar;
procedure p1;
var
a : integer = 1;
begin
writeln(a);
if a<>1 then
halt(1);
inc(a);
end;
begin
p1;
p1;
end.