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 09a9a8b was
843054c2,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
licencing: seventh groups of files
|
-
Property mode set to
100644
|
File size:
657 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | // Cforall extension |
---|
| 2 | |
---|
| 3 | // value |
---|
| 4 | |
---|
| 5 | int 0; |
---|
| 6 | const int 0; |
---|
[bdd516a] | 7 | //static const int 0; |
---|
[51b7345] | 8 | int 1; |
---|
| 9 | const int 1; |
---|
[bdd516a] | 10 | //static const int 1; |
---|
[51b7345] | 11 | int 0, 1; |
---|
| 12 | const int 0, 1; |
---|
[bdd516a] | 13 | //static const int 0, 1; |
---|
[51b7345] | 14 | struct { int i; } 0; |
---|
| 15 | const struct { int i; } 1; |
---|
| 16 | static const struct { int i; } 1; |
---|
| 17 | |
---|
| 18 | // pointer |
---|
| 19 | |
---|
| 20 | int 1, * 0; |
---|
| 21 | int (1), ((1)), * (0), (* 0), ((* 0)); |
---|
| 22 | int * const (0), (* const 0), ((* const 0)); |
---|
| 23 | struct { int i; } * 0; |
---|
| 24 | |
---|
| 25 | // Cforall style |
---|
| 26 | |
---|
| 27 | * int x, 0; |
---|
| 28 | const * int x, 0; |
---|
[bdd516a] | 29 | //static const * int x, 0; |
---|
[51b7345] | 30 | * struct { int i; } 0; |
---|
| 31 | const * struct { int i; } 0; |
---|
| 32 | static const * struct { int i; } 0; |
---|
[bdd516a] | 33 | //static * int x, 0; |
---|
| 34 | //static const * int x, 0; |
---|
[51b7345] | 35 | const * * int x, 0; |
---|
[bdd516a] | 36 | |
---|
| 37 | int main() { |
---|
| 38 | //int 1, * 0; |
---|
| 39 | //* int x, 0; |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.