Parcourir la source

* exit(procvar) in tp mode

peter il y a 23 ans
Parent
commit
0be4fe2a2b
1 fichiers modifiés avec 14 ajouts et 0 suppressions
  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.