aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr79089.c
blob: 523798824b6d3ebe8d541d60359fa6392f83b9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR c/79089 */

struct S { int b; };
struct T { struct S c; } a;
int d;
struct S e;

void
foo ()
{
  e = ({ d++; a.c = (struct S) {}; });
}