2 /* { dg-do compile } */
3 /* { dg-require-effective-target pie } */
4 /* { dg-options "-O2 -fpie -std=gnu99" } */
6 inline int foo (void); /* { dg-warning "declared but never defined" } */
7 extern inline int bar (void); /* { dg-warning "declared but never defined" } */
12 return foo () + bar ();
15 /* { dg-final { scan-assembler "foo@PLT" } } */
16 /* { dg-final { scan-assembler "bar@PLT" } } */