PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr57184.c
blob319d3fd5312f817045e77cee5a7f74e8269e4442
1 /* PR debug/57184 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g" } */
5 struct S {};
6 void bar (struct S *const);
7 static struct S *const c = &(struct S) {};
9 void
10 foo (void)
12 bar (c);