1/* Origin: PR c/364 from and@genesyslab.com, very much reduced to a
2   testcase by Joseph Myers <jsm28@cam.ac.uk>.
3
4   The initializer of z is a valid address constant, and GCC 2.95.2
5   accepts it as such.  CVS GCC as of 2001-01-13 rejects it, but accepts
6   it if y is changed to x in the initializer.  */
7
8struct {
9  struct {
10    int x;
11    int y;
12  } p;
13} v;
14
15int *z = &((&(v.p))->y);
16