summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/struct-non-lval-1.c
blob: 0924f5cc02d13b1ae9cf5040470cac217a51f254 (plain)
1
2
3
4
5
6
7
/* Bug c/17855.  */
struct foo {char x, y, z[2];};
struct foo f();
void bar(int baz)
{
  f().z[baz] = 1;
}