ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 8b52686 was e5b96bf, checked in by Thierry Delisle <tdelisle@…>, 9 years ago |
fixed a several errors in tests
|
-
Property mode
set to
100644
|
File size:
624 bytes
|
Line | |
---|
1 | int main(int argc, char const *argv[]) {
|
---|
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.