OSDN Git Service

PR middle-end/51761
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr39983.c
1 typedef struct {
2     int *p;
3 } *A;
4
5 extern const int a[1];
6 extern const int b[1];
7
8 void foo()
9 {
10   A x;
11   A y;
12   static const int * const c[] = { b };
13
14   x->p = (int*)c[0];
15   y->p = (int*)a;
16 }
17