source: translator/Tests/Parser/Constant0-1.c @ 51b7345

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 51b7345 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 601 bytes
Line 
1// Cforall extension
2
3// value
4
5int 0;
6const int 0;
7static const int 0;
8int 1;
9const int 1;
10static const int 1;
11int 0, 1;
12const int 0, 1;
13static 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;
29static const * int x, 0;
30* struct { int i; } 0;
31const * struct { int i; } 0;
32static const * struct { int i; } 0;
33static * int x, 0;
34static const * int x, 0;
35const * * int x, 0;
Note: See TracBrowser for help on using the repository browser.