Jonas Maebe 26 years ago
parent
commit
d5151a8a2a
2 changed files with 9 additions and 1 deletions
  1. 7 0
      bugs/bug0283.pp
  2. 2 1
      bugs/readme.txt

+ 7 - 0
bugs/bug0283.pp

@@ -0,0 +1,7 @@
+const dirsep = '\';
+
+begin
+  if dirsep = '/'
+    then writeln('bug!')
+    else writeln('ok');
+end.

+ 2 - 1
bugs/readme.txt

@@ -370,4 +370,5 @@ bug0275.pp   too many warnings
 bug0277.pp   typecasting with const not possible
 bug0279.pp   crash with ansistring and new(^ansistring)
 bug0281.pp   dup id checking with property is wrong
-bug0282.pp   long mangledname problem with -Aas
+bug0282.pp   long mangledname problem with -Aas
+bug0283.pp   bug in constant char comparison evaluation