Browse Source

* exit(procvar) in tp mode

peter 22 years ago
parent
commit
0be4fe2a2b
1 changed files with 14 additions and 0 deletions
  1. 14 0
      tests/webtbs/tw2277.pp

+ 14 - 0
tests/webtbs/tw2277.pp

@@ -0,0 +1,14 @@
+{$mode tp}
+
+type
+  tproc=procedure;
+var
+  p : tproc;
+
+function f:tproc;
+begin
+  exit(p);
+end;
+
+begin
+end.