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.2.0 / tests / test / tgeneric26.pp
Size: Mime:
{ %fail }
program tgeneric26;

{$mode objfpc}{$H+}
type
  generic TRecArr<T> = array[0..1] of record
    case enum:(one, two, three) of
      one: (F: T); // can't use type parameter here
      two: (Z: T);
      three: (Y: T);
  end;

begin
end.