source: translator/Tests/SynTree/Expected/Enum.tst @ 93885663

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 93885663 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 595 bytes
Line 
1enum Colors
2    with members
3      Red: a untyped entity
4      Yellow: a untyped entity
5      Pink: a untyped entity
6      Blue: a untyped entity
7      Purple: a untyped entity
8      Orange: a untyped entity
9      Green: a untyped entity
10
11f: a function
12    with parameters
13      void
14    returning
15      void
16    with body
17      Declaration of enum Fruits
18          with members
19            Apple: a untyped entity
20            Banana: a untyped entity
21            Pear: a untyped entity
22            Mango: a untyped entity
23
24      Declaration of fruit: a instance of enum Fruits
25
Note: See TracBrowser for help on using the repository browser.