fpc/tests/tbs/tb0488b.pp
tom_at_work c97dfde06d * renamed tb0488.pp to tb0488a.pp
* added tb0488b test program

git-svn-id: trunk@1774 -
2005-11-16 20:51:45 +00:00

19 lines
356 B
ObjectPascal

{ Checks whether the %x format string supports qwords.
This is a variation of tb0488a
}
uses {$ifdef unix}cwstring, {$endif}SysUtils,erroru;
procedure Check(a,b:ansistring);
begin
if a<>b then
begin
writeln(a,' should be equal to ',b);
error;
end;
end;
begin
check(WideFormat('%x', [$FFFFFFF]),'FFFFFFF');
end.