mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* fix test run in Delphi: TypeInfo(Integer) is indeed for "Integer" in Delphi, not "LongInt" as in FPC
git-svn-id: trunk@36902 -
This commit is contained in:
parent
88eabc12ff
commit
251d223f29
@ -695,7 +695,11 @@ begin
|
||||
LContext := TRttiContext.Create;
|
||||
|
||||
LType := LContext.GetType(TypeInfo(integer));
|
||||
{$ifdef fpc}
|
||||
CheckEquals(LType.Name, 'LongInt');
|
||||
{$else}
|
||||
CheckEquals(LType.Name, 'Integer');
|
||||
{$endif}
|
||||
|
||||
LContext.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user