summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr8835-1.c
blob: 6e3703baaf650b1707d0dd9d925254a1f366596c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */

struct s {
  char c;
};

struct s
foo (void)
{
  struct s s = { 0 };
  return s;
}