ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
Last change
on this file since 891b827 was dc8511c, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago |
first attempt at updating suffixes for test programs
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[40a7d9c] | 1 | typedef int TD;
|
---|
| 2 | extern struct TTT {};
|
---|
[62edde5] | 3 |
|
---|
| 4 | struct S {
|
---|
| 5 | int m1:3, m2:4;
|
---|
| 6 | int :2;
|
---|
| 7 | int :3, :4;
|
---|
| 8 | int m3;
|
---|
| 9 | int m4, m5, m6;
|
---|
| 10 | int *m7, *m8, *m9;
|
---|
[40a7d9c] | 11 | __extension__ int (*m10)();
|
---|
| 12 | __extension__ int *(*m11)(int);
|
---|
| 13 | // TD (TD);
|
---|
[62edde5] | 14 |
|
---|
[40a7d9c] | 15 | // Cforall declarations
|
---|
[62edde5] | 16 |
|
---|
| 17 | * int m12, m13;
|
---|
| 18 | * [ * int ] (int) m14;
|
---|
[40a7d9c] | 19 |
|
---|
| 20 | // C anonymous declarations (padding)
|
---|
| 21 |
|
---|
| 22 | int :4;
|
---|
| 23 | int :4, :6;
|
---|
| 24 |
|
---|
| 25 | // Cforall anonymous declarations (padding)
|
---|
| 26 |
|
---|
| 27 | int @;
|
---|
| 28 | TD @;
|
---|
| 29 | int @, @, @;
|
---|
| 30 | int * @ , @, @;
|
---|
| 31 | int * @, * @, * @;
|
---|
| 32 | * int @, @, @;
|
---|
| 33 | struct TTT @;
|
---|
| 34 | TTT @, @;
|
---|
| 35 | int @ :4, @ :6;
|
---|
| 36 | * int @, @;
|
---|
| 37 | int (*@)();
|
---|
| 38 | int (*@)(int), (*@)(int);
|
---|
| 39 | * [int](int) @, @;
|
---|
| 40 | int (**@)( int );
|
---|
| 41 | * * [int](int) @;
|
---|
| 42 |
|
---|
| 43 | // C aggregate open declarations
|
---|
| 44 |
|
---|
| 45 | __extension__ union { int i; };
|
---|
| 46 | struct T { int k; };
|
---|
| 47 |
|
---|
| 48 | // Cforall forward declaration
|
---|
| 49 |
|
---|
| 50 | struct PPP;
|
---|
| 51 | __extension__ struct QQQ;
|
---|
| 52 |
|
---|
| 53 | // C useless declarations
|
---|
| 54 |
|
---|
| 55 | int;
|
---|
| 56 | TD;
|
---|
| 57 | unsigned int;
|
---|
| 58 | __extension__ long double;
|
---|
| 59 | _Complex;
|
---|
| 60 | double _Complex;
|
---|
| 61 | volatile zero_t;
|
---|
| 62 | const one_t;
|
---|
| 63 | S;
|
---|
| 64 | .S;
|
---|
| 65 | S.T;
|
---|
| 66 | .S.T;
|
---|
| 67 | forall( otype S, otype T ) struct W {
|
---|
| 68 | struct X {};
|
---|
| 69 | };
|
---|
| 70 | W(int);
|
---|
| 71 | W(int).X;
|
---|
[62edde5] | 72 | };
|
---|
| 73 |
|
---|
| 74 | struct S s;
|
---|
| 75 |
|
---|
[40a7d9c] | 76 | // Cforall Plan 9 declarations
|
---|
| 77 |
|
---|
| 78 | struct UUU {};
|
---|
| 79 | extern struct SSS {
|
---|
| 80 | inline struct WWW {};
|
---|
| 81 | inline UUU;
|
---|
| 82 | inline UUU *, **;
|
---|
| 83 | inline UUU (*)( int p );
|
---|
| 84 | inline int;
|
---|
| 85 | inline int *;
|
---|
| 86 | inline * int;
|
---|
| 87 | inline int (*)( int p );
|
---|
| 88 | inline * [int](int p);
|
---|
| 89 | };
|
---|
| 90 |
|
---|
[62edde5] | 91 | union U {
|
---|
| 92 | [5] int m1;
|
---|
| 93 | int m2[5];
|
---|
| 94 | * int m3;
|
---|
| 95 | int *m4;
|
---|
| 96 | } u;
|
---|
| 97 |
|
---|
| 98 | // Local Variables: //
|
---|
| 99 | // tab-width: 4 //
|
---|
| 100 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.