source: src/Tests/Enum.c @ 1ad1c99e

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 1ad1c99e 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
RevLine 
[51b7345]1enum Colors {
[a65d92e]2        Red,
3        Yellow,
4        Pink,
5        Blue,
6        Purple,
7        Orange,
8        Green
[51b7345]9};
10
[a65d92e]11void f( void ) {
12        enum Fruits {
13                Apple,
14                Banana,
15                Pear,
16                Mango
17        } fruit = Mango;
[51b7345]18}
[a65d92e]19
20// Local Variables: //
21// tab-width: 4 //
22// End: //
Note: See TracBrowser for help on using the repository browser.