2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr48953.c
blobe5c8d6723b26b09d5cc6a8562141b1210652e4d8
1 /* { dg-do run } */
2 /* { dg-options "-fno-tree-dce" } */
3 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
5 static inline int foo (int n, int k)
7 struct S
9 int i[n];
10 int value;
11 } s[2];
12 return s[k].value = 0;
15 int main ()
17 return foo (2, 0);