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 45576af9 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:
482 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | typedef int T; |
---|
| 2 | |
---|
| 3 | struct S { |
---|
[a65d92e] | 4 | int m1:3, m2:4; |
---|
| 5 | int :2; |
---|
| 6 | int :3, :4; |
---|
| 7 | int m3; |
---|
| 8 | int m4, m5, m6; |
---|
| 9 | int *m7, *m8, *m9; |
---|
| 10 | int (*m10)(); |
---|
| 11 | int *(*m11)(int); |
---|
| 12 | T T; |
---|
| 13 | T (T); |
---|
[51b7345] | 14 | |
---|
| 15 | // Cforall extensions |
---|
| 16 | |
---|
[a65d92e] | 17 | * int m12, m13; |
---|
| 18 | * [ * int ] (int) m14; |
---|
| 19 | int ; |
---|
| 20 | int , , ; |
---|
| 21 | int * , , ; |
---|
| 22 | int *, *, *; |
---|
| 23 | * int , , ; |
---|
| 24 | int (*)(); |
---|
| 25 | int (**)( int ); |
---|
| 26 | T ; |
---|
[51b7345] | 27 | |
---|
| 28 | // errors |
---|
| 29 | |
---|
| 30 | // void f(void); |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | struct S s; |
---|
| 34 | |
---|
| 35 | union U { |
---|
[a65d92e] | 36 | [5] int m1; |
---|
| 37 | int m2[5]; |
---|
| 38 | * int m3; |
---|
| 39 | int *m4; |
---|
[51b7345] | 40 | } u; |
---|
[a65d92e] | 41 | |
---|
| 42 | // Local Variables: // |
---|
| 43 | // tab-width: 4 // |
---|
| 44 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.