Testsuite: fix analyzer tests on Darwin
[official-gcc.git] / gcc / testsuite / gcc.dg / analyzer / pr95152-4.c
blobf2a72cad01c0c38d6cd25983cf6490a32858e604
1 /* { dg-additional-options "-Wno-pointer-to-int-cast" } */
2 extern void my_func (int);
3 typedef struct {
4 int var;
5 } info_t;
6 extern void *_data_offs;
7 void test()
9 info_t *info = ((void *)((void *)1) + ((unsigned int)&_data_offs));
10 my_func(info->var == 0);