source: translator/Tests/Parser/Constant0-1.c @ 51587aa

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 51587aa was bdd516a, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fixed sizeof type variable, find lowest cost alternative for sizeof expression, removed unused classes, added compiler flag, remove temporary file for -CFA, formatting

  • Property mode set to 100644
File size: 657 bytes
Line 
1// Cforall extension
2
3// value
4
5int 0;
6const int 0;
7//static const int 0;
8int 1;
9const int 1;
10//static const int 1;
11int 0, 1;
12const int 0, 1;
13//static const int 0, 1;
14struct { int i; } 0;
15const struct { int i; } 1;
16static const struct { int i; } 1;
17
18// pointer
19
20int 1, * 0;
21int (1), ((1)), * (0), (* 0), ((* 0));
22int * const (0), (* const 0), ((* const 0));
23struct { int i; } * 0;
24
25// Cforall style
26
27* int x, 0;
28const * int x, 0;
29//static const * int x, 0;
30* struct { int i; } 0;
31const * struct { int i; } 0;
32static const * struct { int i; } 0;
33//static * int x, 0;
34//static const * int x, 0;
35const * * int x, 0;
36
37int main() {
38//int 1, * 0;
39//* int x, 0;
40}
Note: See TracBrowser for help on using the repository browser.