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 22cad76 was
e757af2,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
renamed all tests to lower-case leading character
|
-
Property mode set to
100644
|
File size:
624 bytes
|
Rev | Line | |
---|
[e5b96bf] | 1 | int main(int argc, char const *argv[]) { |
---|
[62edde5] | 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.