Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52549.c
blob4d0a3e00a5ab9fc5012139e50cd340e272174052
1 /* { dg-do compile } */
3 #ifdef __SIZE_TYPE__
4 _mark (__SIZE_TYPE__ obj, int i, char *a)
6 (char *)&(((long *)(obj)) [i]) - a;
8 #elif __SIZEOF_POINTER__ == __SIZEOF_LONG__
9 _mark (long obj, int i, char *a)
11 (char *)&(((long *)(obj)) [i]) - a;
13 #elif __SIZEOF_POINTER__ == __SIZEOF_INT__
14 _mark (int obj, int i, char *a)
16 (char *)&(((int *)(obj)) [i]) - a;
18 #elif __SIZEOF_POINTER__ == __SIZEOF_LONG_LONG__
19 __extension__ _mark (long long obj, int i, char *a)
21 (char *)&(((int *)(obj)) [i]) - a;
23 #endif