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 42dcae7 was
42dcae7,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
re-inserted remove and reorder hoisted aggregate, fixed example programs
|
-
Property mode set to
100644
|
File size:
704 bytes
|
Line | |
---|
1 | int main() { |
---|
2 | L1: { |
---|
3 | double d = 12.123_333_E27; |
---|
4 | L2: switch ( 3_333_333 ) { // underscores in constant |
---|
5 | case 1,2,3: // 4~8, 4...8 not working |
---|
6 | L3: for ( ;; ) { |
---|
7 | L4: for ( ;; ) { |
---|
8 | break L1; // labelled break |
---|
9 | break L2; |
---|
10 | break L3; |
---|
11 | break L4; |
---|
12 | #if 1 |
---|
13 | continue L1; // labelled continue |
---|
14 | continue L2; |
---|
15 | continue L3; |
---|
16 | continue L4; |
---|
17 | #endif |
---|
18 | } // for |
---|
19 | } // for |
---|
20 | break; |
---|
21 | default: |
---|
22 | break L1; |
---|
23 | } // switch |
---|
24 | 3; |
---|
25 | int i, j; |
---|
26 | choose ( 7 ) { |
---|
27 | case 1,2,3: |
---|
28 | i = 3; |
---|
29 | fallthru; |
---|
30 | case 4,5,6: |
---|
31 | j = 3; |
---|
32 | default: ; |
---|
33 | } // choose |
---|
34 | } // block |
---|
35 | } // main |
---|
36 | |
---|
37 | // Local Variables: // |
---|
38 | // compile-command: "../../bin/cfa loopbreak.c" // |
---|
39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.