PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48213.c
blobcf7d76fa0ea1e31de685f9af308cd1e6b34b3ccf
1 /* PR target/48213 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2" } */
4 /* { dg-options "-g -O2 -fpic" { target fpic } } */
6 struct S { int (*s) (void); };
7 int bar (void);
9 void
10 foo (struct S *x)
12 if (x->s != bar)
13 bar ();