new-envwith_gc
Last change
on this file since 3205495 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:
476 bytes
|
Rev | Line | |
---|
[62edde5] | 1 | typedef int T; |
---|
| 2 | |
---|
| 3 | struct S { |
---|
| 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 | |
---|
| 14 | // Cforall extensions |
---|
| 15 | |
---|
| 16 | * int m12, m13; |
---|
| 17 | * [ * int ] (int) m14; |
---|
| 18 | int ; |
---|
| 19 | int , , ; |
---|
| 20 | int * , , ; |
---|
| 21 | int *, *, *; |
---|
| 22 | * int , , ; |
---|
| 23 | int (*)(); |
---|
| 24 | int (**)( int ); |
---|
| 25 | T ; |
---|
| 26 | |
---|
| 27 | // errors |
---|
| 28 | |
---|
| 29 | // void f(void); |
---|
| 30 | }; |
---|
| 31 | |
---|
| 32 | struct S s; |
---|
| 33 | |
---|
| 34 | union U { |
---|
| 35 | [5] int m1; |
---|
| 36 | int m2[5]; |
---|
| 37 | * int m3; |
---|
| 38 | int *m4; |
---|
| 39 | } u; |
---|
| 40 | |
---|
| 41 | // Local Variables: // |
---|
| 42 | // tab-width: 4 // |
---|
| 43 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.