Jonas Maebe %!s(int64=26) %!d(string=hai) anos
pai
achega
d5151a8a2a
Modificáronse 2 ficheiros con 9 adicións e 1 borrados
  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
 bug0277.pp   typecasting with const not possible
 bug0279.pp   crash with ansistring and new(^ansistring)
 bug0279.pp   crash with ansistring and new(^ansistring)
 bug0281.pp   dup id checking with property is wrong
 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