source: src/Tests/Enum.c @ 45576af9

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 45576af9 was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 9 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.