source: translator/Tests/SynTree/Enum.c @ 3848e0e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 3848e0e was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

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