Changes in src/tests/Enum.c [10dc7491:62edde5]
- File:
-
- 1 edited
-
src/tests/Enum.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Enum.c
r10dc7491 r62edde5 1 1 //Testing enum declaration 2 enum Colo urs {2 enum Colors { 3 3 Red, 4 4 Yellow, … … 10 10 }; 11 11 12 enum Colours c1;13 Colours c2;14 15 12 void f( void ) { 16 13 enum Fruits { … … 20 17 Mango 21 18 } fruit = Mango; 22 enum Fruits f1;23 Fruits f2;24 19 } 25 20 26 21 //Dummy main 27 int main(int argc, char const *argv[]) { 22 int main(int argc, char const *argv[]) 23 { 24 return 0; 28 25 }
Note:
See TracChangeset
for help on using the changeset viewer.