summaryrefslogtreecommitdiff
path: root/tests/test/opt/treg2.pp
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2007-07-29 19:35:52 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2007-07-29 19:35:52 +0000
commit76c50b1a55bae1550c339c03c4f653e15d306739 (patch)
tree90725e99076d1df020a22b78e435950ac89b9193 /tests/test/opt/treg2.pp
parent0b33ad52e30d626eca7c977834f679de6a03aa7c (diff)
downloadfpc-76c50b1a55bae1550c339c03c4f653e15d306739.tar.gz
* fixed some test/opt tests
+ include test/opt directory in Makefile git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@8198 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/test/opt/treg2.pp')
-rw-r--r--tests/test/opt/treg2.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test/opt/treg2.pp b/tests/test/opt/treg2.pp
index cbbeae9520..9434cb8e34 100644
--- a/tests/test/opt/treg2.pp
+++ b/tests/test/opt/treg2.pp
@@ -36,7 +36,17 @@ procedure p;
begin
assign(t,'treg2.dat');
+ rewrite(t);
+ writeln(t,'1.0');
+ writeln(t,'2.0');
+ writeln(t,'3.0');
+ writeln(t,'4.0');
+ writeln(t,'5.0');
+ writeln(t,'6.0');
+ close(t);
reset(t);
p;
close(t);
+ erase(t);
end.
+