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 a3e7d34 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
|
Rev | Line | |
---|
[b1d6dd5] | 1 | nameExpr is Mango |
---|
| 2 | decl is Mango: const instance of enum Fruits |
---|
| 3 | newExpr is Variable Expression: Mango: const instance of enum Fruits |
---|
| 4 | |
---|
| 5 | alternatives before prune: |
---|
| 6 | Cost ( 0, 0, 0 ): Variable Expression: Mango: const instance of enum Fruits |
---|
| 7 | (types: |
---|
| 8 | const lvalue instance of enum Fruits |
---|
| 9 | ) |
---|
| 10 | Environment: |
---|
| 11 | |
---|
| 12 | there are 1 alternatives before elimination |
---|
| 13 | there are 1 alternatives after elimination |
---|
| 14 | alternatives before prune: |
---|
| 15 | Cost ( 0, 0, 0 ): Cast of: |
---|
| 16 | Variable Expression: Mango: const instance of enum Fruits |
---|
| 17 | |
---|
| 18 | to: |
---|
| 19 | instance of enum Fruits |
---|
| 20 | (types: |
---|
| 21 | instance of enum Fruits |
---|
| 22 | ) |
---|
| 23 | Environment: |
---|
| 24 | |
---|
| 25 | there are 1 alternatives before elimination |
---|
| 26 | there are 1 alternatives after elimination |
---|
| 27 | enum 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 | ; |
---|
| 38 | void __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.