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

git-svn-id: trunk@4885 -
This commit is contained in:
florian 2006-10-13 14:20:09 +00:00
parent 9ea736e89e
commit 9936dca488

View File

@ -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]);