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 ad17ba6a was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
500 bytes
|
Line | |
---|
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 | T (T); |
---|
14 | |
---|
15 | // Cforall extensions |
---|
16 | |
---|
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 ; |
---|
27 | |
---|
28 | // errors |
---|
29 | |
---|
30 | // void f(void); |
---|
31 | }; |
---|
32 | |
---|
33 | struct S s; |
---|
34 | |
---|
35 | union U { |
---|
36 | [5] int m1; |
---|
37 | int m2[5]; |
---|
38 | * int m3; |
---|
39 | int *m4; |
---|
40 | } u; |
---|
Note: See
TracBrowser
for help on using the repository browser.