blob: e5c8d6723b26b09d5cc6a8562141b1210652e4d8 [file] [log] [blame]
/* { dg-do run } */
/* { dg-options "-fno-tree-dce" } */
/* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
static inline int foo (int n, int k)
{
struct S
{
int i[n];
int value;
} s[2];
return s[k].value = 0;
}
int main ()
{
return foo (2, 0);
}