summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/960221-1.c
blob: 0e02496c1045c8cc56b1616e76b96446e49f3544 (plain)
1
2
3
4
5
6
7
8
9
10
11
struct s1 { int f1; };

struct s2 {
  struct s1 a;
  int f2;
};

foo (struct s2 *ptr)
{
  *ptr = (struct s2) {{}, 0};
}