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 dd51906 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:
596 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | int fred() { |
---|
| 2 | int i; |
---|
| 3 | switch ( i ) case 3 : i = 1; |
---|
| 4 | switch ( i ) default : i = 1; |
---|
| 5 | switch ( 3 ) |
---|
| 6 | default: |
---|
| 7 | case 2: |
---|
| 8 | case 3: |
---|
| 9 | 3; |
---|
| 10 | |
---|
| 11 | switch ( i ) { |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | switch ( i ) { |
---|
| 15 | int i; |
---|
| 16 | case 8~10: |
---|
| 17 | default: |
---|
| 18 | i = 3; |
---|
| 19 | case 3: |
---|
| 20 | case 'A' ... 'Z': |
---|
| 21 | case 5 ... 6: |
---|
| 22 | case 2, 4: |
---|
| 23 | i = 3; |
---|
| 24 | break; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | choose ( i ) case 3 : i = 1; |
---|
| 28 | choose ( i ) default : i = 1; |
---|
| 29 | choose ( i ) { |
---|
| 30 | int i; |
---|
| 31 | case 3: |
---|
| 32 | case 'A' ... 'Z': |
---|
| 33 | case 5 ... 6: |
---|
| 34 | case 2, 4, 7: |
---|
| 35 | i = 3; |
---|
| 36 | fallthru; |
---|
| 37 | default: |
---|
| 38 | i = 3; |
---|
| 39 | case 8~10: |
---|
| 40 | fallthru |
---|
| 41 | } |
---|
| 42 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.