view gcc/testsuite/gcc.c-torture/compile/struct-non-lval-1.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Bug c/17855.  */
struct foo {char x, y, z[2];};
struct foo f();
void bar(int baz)
{
  f().z[baz] = 1;
}