1 | #line 1033 "configure" |
2 | #include "confdefs.h" |
3 | |
4 | int main() { |
5 | |
6 | |
7 | typedef int charset[2]; const charset x; |
8 | |
9 | char const *const *ccp; |
10 | char **p; |
11 | |
12 | struct point {int x, y;}; |
13 | static struct point const zero = {0,0}; |
14 | |
15 | |
16 | |
17 | const char *g = "string"; |
18 | ccp = &g + (g ? g-g : 0); |
| |
19 | |
20 | ++ccp; |
21 | p = (char**) ccp; |
22 | ccp = (char const *const *) p; |
23 | { |
24 | char *t; |
| 2 | | 't' declared without an initial value | |
|
25 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| |
26 | |
27 | *t++ = 0; |
| 4 | | The expression is an uninitialized value. The computed value will also be garbage |
|
28 | } |
29 | { |
30 | int x[] = {25, 17}; |
31 | const int *foo = &x[0]; |
32 | ++foo; |
33 | } |
34 | { |
35 | typedef const int *iptr; |
36 | iptr p = 0; |
37 | ++p; |
38 | } |
39 | { |
40 | |
41 | struct s { int j; const int *ap[3]; }; |
42 | struct s *b; b->j = 5; |
43 | } |
44 | { |
45 | const int foo = 10; |
46 | } |
47 | |
48 | ; return 0; } |