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 / tenum5.pp
Size: Mime:
{ %fail}
{ %norun}

// test checks that enumeration searches symbols only in the own symbol list 
// if they are prefixed by the enumeration name

program tenum5;
type
{$SCOPEDENUMS ON}
  TEnum1 = (first, second, third);
{$SCOPEDENUMS OFF}
  TEnum2 = (zero, first, second, third);
var
  En1: TEnum1;
begin
  En1 := TEnum1.zero;
end.