rt_gccstream/gcc/testsuite/gcc.c-torture/compile/pr37026.c

13 lines
160 B
C

struct a {
long a1;
long a2;
};
struct b {
struct a b1;
struct a b2;
};
void bar (struct b *c)
{
c->b1 = c->b2 = ((struct a) { foo(), 0 });
}