summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/fail_always_inline.c
blob: 86645b850de86d6401bd6a7d750788b6f1e9f577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-add-options bind_pic_locally } */

extern __attribute__ ((always_inline)) void
 bar() { } /* { dg-warning "function might not be inlinable" } */

void
f()
{
  bar(); 
}