lazarus/components/codetools/tests/moduletests/fdt_for_in.pas
mattias 9b7b950996 codetools: added test for in
git-svn-id: trunk@54678 -
2017-04-22 06:26:04 +00:00

26 lines
260 B
ObjectPascal

unit fdt_for_in;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TCol = (red, blue, green);
const
tcRedBlue = [Low(TCol)..blue];
procedure DoIt;
implementation
procedure DoIt;
begin
for e{guesstype:TCol} in tcRedBlue do ;
end;
end.