2 // { dg-options "-O2 -Winline" }
3 // Origin: <markus at oberhumer dot com>
4 // PR 17115: We should not emit -Winline warning for functions marked with
8 __attribute__((noinline)) int a(int r) { return r & 1; }
9 virtual __attribute__((noinline)) int b(int r) { return r & 1; }
10 static __attribute__((noinline)) int c(int r) { return r & 1; }
15 int k = 1; k &= f.a(r); k &= f.b(r); k &= f.a(r);