+ add test for enumerating a set without ranges

git-svn-id: trunk@36105 -
This commit is contained in:
svenbarth 2017-05-04 22:00:29 +00:00
parent c349151504
commit 52ddce608f
2 changed files with 11 additions and 0 deletions

1
.gitattributes vendored
View File

@ -12439,6 +12439,7 @@ tests/test/tforin24.pp svneol=native#text/pascal
tests/test/tforin25.pp svneol=native#text/pascal
tests/test/tforin26.pp svneol=native#text/pascal
tests/test/tforin27.pp svneol=native#text/pascal
tests/test/tforin28.pp svneol=native#text/pascal
tests/test/tforin3.pp svneol=native#text/pascal
tests/test/tforin4.pp svneol=native#text/pascal
tests/test/tforin5.pp svneol=native#text/pascal

10
tests/test/tforin28.pp Normal file
View File

@ -0,0 +1,10 @@
program tforin28;
type
TEnum = (One, Two, Three);
var
e: TEnum;
begin
for e in [One, Three] do Writeln(e);
end.