]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr78148.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr78148.c
CommitLineData
a654d5d0
JJ
1/* PR target/78148 */
2/* { dg-do compile } */
3/* { dg-options "-O2 -fcompare-debug" } */
4
5struct A { int a, b; };
6struct B { char c, d; };
7extern void bar (struct A, struct B);
8struct C { char e, f; } a;
9struct D
10{
11 int g;
12 struct C h[4];
13};
14struct D *e;
15
16struct D
17foo (void)
18{
19 int b;
20 struct B c;
21 struct A d;
22 d.b = c.c = c.d = 0;
23 bar (d, c);
24}
25
26void
27baz ()
28{
29 e->h[0].e = e->h[0].f = 0;
30 foo ();
31}