summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr45919.c
blob: caf518db041fcaa4fa5b1603b58f84f972e1d14a (plain)
1
2
3
4
5
6
7
8
9
/* PR tree-optimization/45919 */

const struct S { int a; int b[]; } s = { 0, { 0 }};

int
foo (void)
{
  return s.b[0];
}