Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52880.c
blob5a83de84ade44e4a80a0b35a5650c5cf9fc53530
1 /* PR c/52880 */
2 /* { dg-do compile } */
3 /* { dg-options "-Woverride-init" } */
5 struct A { int a; int b; };
6 struct B { struct A c; int d, e; };
7 struct B f = { .c.a = 0, .e = 1, .d = 2, .c.b = 3 };
8 struct C { int g; int h; };
9 struct D { int i; struct C j; int k; };
10 struct D l = { .j.g = 0, .k = 1, .i = 2, .j.h = 3 };