1 | |
2 | #define PACKAGE_NAME"dmake" "dmake" |
3 | #define PACKAGE_TARNAME"dmake" "dmake" |
4 | #define PACKAGE_VERSION"4.12" "4.12" |
5 | #define PACKAGE_STRING"dmake 4.12" "dmake 4.12" |
6 | #define PACKAGE_BUGREPORT"" "" |
7 | #define PACKAGE"dmake" "dmake" |
8 | #define VERSION"4.12" "4.12" |
9 | #define BUILDINFO"i686-pc-linux-gnu" "i686-pc-linux-gnu" |
10 | #define HAVE_DIRENT_H1 1 |
11 | #define STDC_HEADERS1 1 |
12 | #define HAVE_SYS_TYPES_H1 1 |
13 | #define HAVE_SYS_STAT_H1 1 |
14 | #define HAVE_STDLIB_H1 1 |
15 | #define HAVE_STRING_H1 1 |
16 | #define HAVE_MEMORY_H1 1 |
17 | #define HAVE_STRINGS_H1 1 |
18 | #define HAVE_INTTYPES_H1 1 |
19 | #define HAVE_STDINT_H1 1 |
20 | #define HAVE_UNISTD_H1 1 |
21 | #define HAVE_FCNTL_H1 1 |
22 | #define HAVE_LIMITS_H1 1 |
23 | #define HAVE_STRINGS_H1 1 |
24 | #define HAVE_SYS_TYPES_H1 1 |
25 | #define HAVE_SYS_STAT_H1 1 |
26 | #define HAVE_UNISTD_H1 1 |
27 | #define HAVE_ERRNO_H1 1 |
28 | #define HAVE_UTIME_H1 1 |
29 | #define HAVE_SPAWN_H1 1 |
30 | #define HAVE_WAIT_H1 1 |
31 | #define HAVE_SYS_WAIT_H1 1 |
32 | #define HAVE_SYS_TIME_H1 1 |
33 | |
34 | |
35 | int |
36 | main () |
37 | { |
38 | |
39 | #ifndef __cplusplus |
40 | |
41 | typedef int charset[2]; |
42 | const charset cs; |
43 | |
44 | char const *const *pcpcc; |
45 | char **ppc; |
46 | |
47 | struct point {int x, y;}; |
48 | static struct point const zero = {0,0}; |
49 | |
50 | |
51 | |
52 | |
53 | const char *g = "string"; |
54 | pcpcc = &g + (g ? g-g : 0); |
| |
55 | |
56 | ++pcpcc; |
57 | ppc = (char**) pcpcc; |
58 | pcpcc = (char const *const *) ppc; |
59 | { |
60 | char *t; |
61 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
| |
62 | |
63 | *t++ = 0; |
| 3 | | Dereference of undefined pointer value |
|
64 | if (s) return 0; |
65 | } |
66 | { |
67 | int x[] = {25, 17}; |
68 | const int *foo = &x[0]; |
69 | ++foo; |
70 | } |
71 | { |
72 | typedef const int *iptr; |
73 | iptr p = 0; |
74 | ++p; |
75 | } |
76 | { |
77 | |
78 | struct s { int j; const int *ap[3]; }; |
79 | struct s *b; b->j = 5; |
80 | } |
81 | { |
82 | const int foo = 10; |
83 | if (!foo) return 0; |
84 | } |
85 | return !cs[0] && !zero.x; |
86 | #endif |
87 | |
88 | ; |
89 | return 0; |
90 | } |