source:
translator/Tests/SynTree/Enum.c
@
51b7345
Last change on this file since 51b7345 was 51b7345, checked in by , 10 years ago | |
---|---|
|
|
File size: 177 bytes |
Rev | Line | |
---|---|---|
[51b7345] | 1 | enum Colors { |
2 | Red, | |
3 | Yellow, | |
4 | Pink, | |
5 | Blue, | |
6 | Purple, | |
7 | Orange, | |
8 | Green | |
9 | }; | |
10 | ||
11 | ||
12 | void f( void ) | |
13 | { | |
14 | enum Fruits { | |
15 | Apple, | |
16 | Banana, | |
17 | Pear, | |
18 | Mango | |
19 | } fruit = Mango; | |
20 | } |
Note: See TracBrowser
for help on using the repository browser.