Browse Source

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

git-svn-id: trunk@4885 -
florian 19 years ago
parent
commit
9936dca488
1 changed files with 4 additions and 1 deletions
  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]);