source: src/Tests/SynTree/Enum.c @ 5887db27

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 5887db27 was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

licencing: seventh groups of files

  • 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.