source:
tests/enum_tests/qualifiedEnum.cfa
@
8c13ca8
Last change on this file since 8c13ca8 was e874605, checked in by , 22 months ago | |
---|---|
|
|
File size: 148 bytes |
Rev | Line | |
---|---|---|
[12df6fe] | 1 | #include <fstream.hfa> |
2 | ||
3 | enum Level { | |
4 | LOW, | |
5 | MEDIUM, | |
6 | HIGH | |
7 | }; | |
8 | ||
9 | int main() { | |
[e874605] | 10 | enum Level l = Level.MEDIUM; |
[12df6fe] | 11 | sout | "l :" | l; |
12 | return 0; | |
13 | } |
Note: See TracBrowser
for help on using the repository browser.