1 /* { dg-do compile } */
2
3 struct A {
4 int *x;
5 };
6 int i;
7 int f(int *const c) {
8 struct A * b = (struct A *)(&c);
9 return b->x != 0;
10 }
11 void g() { f(&i); }
12