mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 04:39:22 +02:00
+ add test for enumerating a set without ranges
git-svn-id: trunk@36105 -
This commit is contained in:
parent
c349151504
commit
52ddce608f
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -12439,6 +12439,7 @@ tests/test/tforin24.pp svneol=native#text/pascal
|
|||||||
tests/test/tforin25.pp svneol=native#text/pascal
|
tests/test/tforin25.pp svneol=native#text/pascal
|
||||||
tests/test/tforin26.pp svneol=native#text/pascal
|
tests/test/tforin26.pp svneol=native#text/pascal
|
||||||
tests/test/tforin27.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/tforin3.pp svneol=native#text/pascal
|
||||||
tests/test/tforin4.pp svneol=native#text/pascal
|
tests/test/tforin4.pp svneol=native#text/pascal
|
||||||
tests/test/tforin5.pp svneol=native#text/pascal
|
tests/test/tforin5.pp svneol=native#text/pascal
|
||||||
|
10
tests/test/tforin28.pp
Normal file
10
tests/test/tforin28.pp
Normal 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.
|
Loading…
Reference in New Issue
Block a user