]> andersk Git - splint.git/blob - test/typeof.c
Pushed back constraintResolve.c to the previous version.
[splint.git] / test / typeof.c
1 /* gcc extension: http://gcc.gnu.org/onlinedocs/gcc-3.0.3/gcc_5.html#SEC74 */
2
3 int main (int /*@unused{*/ argc, char /*@unused@*/ **argv) {
4   int i = 0;
5   typeof (i) j;
6   __typeof__ (int *) ip;
7   typeof (typeof (char *) [4]) y; /* char *y[4] */
8
9   j = 10;
10   *ip = j;
11   *y[3] = 'a';
12   printf("%d\n", *ip);
13   return 1;
14 }
This page took 0.455648 seconds and 5 git commands to generate.