mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* test without varargs enabled, makes a difference on some CPUs (x86_64)
git-svn-id: trunk@4885 -
This commit is contained in:
parent
9ea736e89e
commit
9936dca488
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user