Jonas Maebe 26 years ago
parent
commit
9b294081d4
2 changed files with 10 additions and 1 deletions
  1. 8 0
      bugs/bug0301.pp
  2. 2 1
      bugs/readme.txt

+ 8 - 0
bugs/bug0301.pp

@@ -0,0 +1,8 @@
+Program bug0301;
+
+destructor done;
+begin
+end;
+
+begin
+end.

+ 2 - 1
bugs/readme.txt

@@ -389,4 +389,5 @@ bug0293.pp   no error with variable name = type name
 bug0297.pp   calling of interrupt procedure allowed but wrong code generated
 bug0298.pp   l1+l2:=l1+l2 gives no error
 bug0299.pp   passing Array[0..1] of char by value to proc leads to problems
-bug0300.pp   crash if method on non existing object is parsed (form bug 651)
+bug0300.pp   crash if method on non existing object is parsed (form bug 651)
+bug0301.pp   crash if destructor without object name is parsed