Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / test / tgeneric73.pp
Size: Mime:
{ %NORUN }

{ This tests that nested types can reference each other inside a generic }
program tgeneric73;

{$mode objfpc}

type
  generic TTest<T> = class
  public type
    TSubClass1 = class

    end;

    TSubClass2 = class
      f: TSubClass1;
    end;
  end;

begin

end.