mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* fix test compilation in Delphi: TypeInfo() of a file type is not supported
git-svn-id: trunk@36900 -
This commit is contained in:
parent
95f3c6c427
commit
bb947ed639
@ -785,7 +785,9 @@ begin
|
||||
{$endif}
|
||||
CheckEquals(false, IsManaged(TypeInfo(TTestProc)), 'IsManaged for tkProcVar');
|
||||
CheckEquals(false, IsManaged(TypeInfo(TTestHelper)), 'IsManaged for tkHelper');
|
||||
{$ifdef fpc}
|
||||
CheckEquals(false, IsManaged(TypeInfo(file)), 'IsManaged for tkFile');
|
||||
{$endif}
|
||||
CheckEquals(false, IsManaged(TypeInfo(TClass)), 'IsManaged for tkClassRef');
|
||||
CheckEquals(false, IsManaged(TypeInfo(Pointer)), 'IsManaged for tkPointer');
|
||||
CheckEquals(false, IsManaged(nil), 'IsManaged for nil');
|
||||
|
Loading…
Reference in New Issue
Block a user