aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr82388.c
blob: 51e30f88269c7d373d24c027914f92d918fdf05a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-optimization/82388 */

struct A { int b; int c; int d; } e;

struct A
foo (void)
{
  struct A h[30] = {{0,0,0}};
  return h[29]; 
}

int
main ()
{
  e = foo ();
  return e.b; 
}