Parcourir la source

*** empty log message ***

florian il y a 23 ans
Parent
commit
2eec6a0897
1 fichiers modifiés avec 20 ajouts et 0 suppressions
  1. 20 0
      tests/tbs/tb0399.pp

+ 20 - 0
tests/tbs/tb0399.pp

@@ -0,0 +1,20 @@
+procedure error;
+  begin
+     writeln('Problem with octal constants');
+     halt(1);
+  end;
+
+begin
+   if 8<>&10 then
+     error;
+   if 1<>&1 then
+     error;
+   if 64<>&100 then
+     error;
+   if 33<>&41 then
+     error;
+   if 33<>&41 then
+     error;
+   if 12345678<>&57060516 then
+     error;
+end.