Changeset f1ee72e for src/tests/Enum.c
- Timestamp:
- Jun 23, 2016, 12:23:00 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 4d3ca1d8
- Parents:
- c2931ea (diff), d56c05d0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Enum.c
rc2931ea rf1ee72e 1 1 //Testing enum declaration 2 enum Colo rs {2 enum Colours { 3 3 Red, 4 4 Yellow, … … 10 10 }; 11 11 12 enum Colours c1; 13 Colours c2; 14 12 15 void f( void ) { 13 16 enum Fruits { … … 17 20 Mango 18 21 } fruit = Mango; 22 enum Fruits f1; 23 Fruits f2; 19 24 } 20 25 21 26 //Dummy main 22 int main(int argc, char const *argv[]) 23 { 24 return 0; 27 int main(int argc, char const *argv[]) { 25 28 }
Note:
See TracChangeset
for help on using the changeset viewer.