aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr17322.c
blob: 705787273b548d8d5ac5cf88bb02afedcc32ecf3 (plain)
1
2
3
4
5
/* PR 17322 */

struct s { int a; int b[1]; };
struct s x;
int *y = ((struct s *)&x.a)->b;