tricky bitfield test from gcc (extended)
[cparser] / parsetest / array.c
1 int printf(const char *str, ...);
2
3 int main(void)
4 {
5         int array[4];
6         unsigned st = sizeof(array + 1);
7         printf("Res: %d %d %d %d (should be 4, 16, 16, 16 if sizeof(int)==4)\n",
8                (int) sizeof(array+1), (int) sizeof(array),
9                (int) sizeof(*&array), (int) sizeof( (array) ));
10         return 0;
11 }