PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr58346.c
blobb7940f6cf4d3cc51b96613e06b06cd23006260ce
1 /* PR tree-optimization/58346 */
2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
5 struct U {};
6 static struct U b[1] = { };
7 extern void bar (struct U);
9 void
10 foo (void)
12 bar (b[0]);
15 void
16 baz (void)
18 foo ();