source: src/Tests/Enum.c@ 3cfe27f

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 3cfe27f was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 213 bytes
Line 
1enum Colors {
2 Red,
3 Yellow,
4 Pink,
5 Blue,
6 Purple,
7 Orange,
8 Green
9};
10
11void f( void ) {
12 enum Fruits {
13 Apple,
14 Banana,
15 Pear,
16 Mango
17 } fruit = Mango;
18}
19
20// Local Variables: //
21// tab-width: 4 //
22// End: //
Note: See TracBrowser for help on using the repository browser.