OSDN Git Service

f0734db60f280e3e8a125de207e1b2b4059f5575
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr30744-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 typedef struct {
5   unsigned long unique;
6 } G;
7
8 void r(G* n)
9 {
10   unsigned long p;
11   if (((G *) ((void *)((~(unsigned long)(p))))) != ((void *)0)) {
12     ((G *) ((void *)((~(unsigned long)(p)))))->unique = n->unique;
13   }
14 }
15