summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr35432.c
blob: 6a0c92177465db72c0115588ba78c05f6ad28005 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR middle-end/35432 */

struct A
{
  char c[0];
};

void foo(struct A a)
{
  (a = a).c;
}