codetools: added test for var with nested class type

git-svn-id: trunk@50271 -
This commit is contained in:
mattias 2015-11-10 12:33:58 +00:00
parent 1e10c98414
commit 05335610bd

View File

@ -18,6 +18,7 @@ type
TCustomClass = class(TBaseClass)
public type
TCustomSubClass = class(TBaseSubClass{declaration:fdt_nestedclasses.TBaseClass.TBaseSubClass})
public
procedure DoSomething; override;
end;
end;
@ -38,6 +39,10 @@ begin
end;
var
s: TCustomClass.TCustomSubClass;
begin
s:=TCustomClass.TCustomSubClass{declaration:fdt_nestedclasses.TCustomClass.TCustomSubClass}.Create;
s.DoSomething{declaration:fdt_nestedclasses.TCustomClass.TCustomSubClass.DoSomething};
end.