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