fpc/tests/tbs/tb0359.pp
Jonas Maebe 22dbdea481 * fixed test, enabled for freebsd, darwin, solaris
git-svn-id: trunk@3151 -
2006-04-05 12:19:55 +00:00

19 lines
335 B
ObjectPascal

{ %version=1.1 }
{ %TARGET=linux,freebsd,darwin,solaris }
{$linklib c}
type
tprintfproc=procedure(t:pchar);varargs;cdecl;
procedure printf(t:pchar);varargs;cdecl;external;
var
t : tprintfproc;
begin
printf('Proc test %d %s %lf'#10,1,'test',1234.5678);
t:=@printf;
t('Procvar test %d %s %lf'#10,2,'test',1234.5678);
end.