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 / webtbs / tw21593a.pp
Size: Mime:
program tw21593a;

{$MODE DELPHI}

type
  TWrapper<T> = record
    class procedure Test; static;
  end;

class procedure TWrapper<T>.Test;
const
  Size = SizeOf(T);  { Error: Illegal expression }
begin
  Writeln(Size);
end;

begin
  TWrapper<Byte>.Test;
end.