Browse Source

* testcase for last commit

git-svn-id: trunk@10337 -
florian 17 years ago
parent
commit
38230735a5
2 changed files with 26 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 25 0
      tests/tbs/tb0545.pp

+ 1 - 0
.gitattributes

@@ -6729,6 +6729,7 @@ tests/tbs/tb0541.pp svneol=native#text/plain
 tests/tbs/tb0542.pp svneol=native#text/plain
 tests/tbs/tb0543.pp svneol=native#text/plain
 tests/tbs/tb0544.pp svneol=native#text/plain
+tests/tbs/tb0545.pp svneol=native#text/plain
 tests/tbs/tb205.pp svneol=native#text/plain
 tests/tbs/ub0060.pp svneol=native#text/plain
 tests/tbs/ub0069.pp svneol=native#text/plain

+ 25 - 0
tests/tbs/tb0545.pp

@@ -0,0 +1,25 @@
+{ %OPT=-gl -OG1 -S2cgi }
+program Project1;
+
+{$mode objfpc}{$H+}
+
+procedure my_very_looooooooong_idenfier_procedure_1;
+
+   procedure my_very_looooooooong_idenfier_procedure_2;
+
+     procedure my_very_looooooooong_idenfier_procedure_3;
+     begin
+        // bug
+     end;
+
+   begin
+     my_very_looooooooong_idenfier_procedure_3;
+   end;
+
+begin
+   my_very_looooooooong_idenfier_procedure_2;
+end;
+
+begin
+   my_very_looooooooong_idenfier_procedure_1;
+end.