source: src/Tests/Expect-r/Enum.txt @ b617e4b

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 b617e4b 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: 1.1 KB
Line 
1nameExpr is Mango
2decl is Mango: const instance of enum Fruits
3newExpr is Variable Expression: Mango: const instance of enum Fruits
4
5alternatives before prune:
6Cost ( 0, 0, 0 ): Variable Expression: Mango: const instance of enum Fruits
7(types:
8    const lvalue instance of enum Fruits
9)
10Environment:
11
12there are 1 alternatives before elimination
13there are 1 alternatives after elimination
14alternatives before prune:
15Cost ( 0, 0, 0 ): Cast of:
16  Variable Expression: Mango: const instance of enum Fruits
17
18to:
19  instance of enum Fruits
20(types:
21    instance of enum Fruits
22)
23Environment:
24
25there are 1 alternatives before elimination
26there are 1 alternatives after elimination
27enum Colors
28{
29    __Red__C7eColors,
30    __Yellow__C7eColors,
31    __Pink__C7eColors,
32    __Blue__C7eColors,
33    __Purple__C7eColors,
34    __Orange__C7eColors,
35    __Green__C7eColors,
36}
37;
38void __f__F__(void){
39    enum Fruits
40{
41        __Apple__C7eFruits,
42        __Banana__C7eFruits,
43        __Pear__C7eFruits,
44        __Mango__C7eFruits,
45}
46;
47    enum Fruits __fruit__7eFruits = ((enum Fruits )__Mango__C7eFruits);
48}
Note: See TracBrowser for help on using the repository browser.