* gcc.dg/i386-fpcvt-1.c: New test.
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-alwaysinline.c
blob8ff92b23a72c77c7d1d99407994e8bb43ceceb71
1 /* Test always_inline attribute, which forces inlining of functions
2 even at no optimization. */
3 /* Origin: Aldy Hernandez <aldyh@redhat.com>. */
4 /* { dg-do compile } */
5 /* { dg-options "-O0" } */
7 static inline int sabrina (void) __attribute__((always_inline));
9 static inline int sabrina (void)
11 return 13;
14 int bar (void)
16 return sabrina () + 68;
19 /* { dg-final { scan-assembler-not "sabrina" } } */