Explorar el Código

* test without varargs enabled, makes a difference on some CPUs (x86_64)

git-svn-id: trunk@4885 -
florian hace 19 años
padre
commit
9936dca488
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      tests/test/cg/tprintf2.pp

+ 4 - 1
tests/test/cg/tprintf2.pp

@@ -51,7 +51,10 @@ begin
   getmem(p,500);
 
   Writeln('Testing C printf function called from FPC code');
-//  printf('Simple test without arg'+lineending,[]);
+  { for some CPUs, this requires also different calling conventions
+    than procedures taking a single pchar parameter, see #7504 (FK) }
+  printf('Simple test without arg'+lineending);
+
   Writeln('Testing with single pchar argument');
   printf('Text containing "%s" text'+lineending,[s]);
   sprintf(p,'Text containing "%s" text'+lineending,[s]);