diff --git a/bugs/bug0120.pp b/bugs/bug0120.pp new file mode 100644 index 0000000000..5209f2b6b5 --- /dev/null +++ b/bugs/bug0120.pp @@ -0,0 +1,9 @@ +type + te = (enum); + +var + e : te; + +begin + inc(e); +end. diff --git a/bugs/readme.txt b/bugs/readme.txt index 957dafda9c..260a515b46 100644 --- a/bugs/readme.txt +++ b/bugs/readme.txt @@ -165,3 +165,4 @@ bug0117.pp internalerror 17 (and why is there an automatic float conversion?) bug0118.pp Procedural vars cannot be assigned nil ? bug0119.pp problem with methods +bug0120.pp inc/dec(enumeration) doesn't work