]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/attr-alwaysinline.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / attr-alwaysinline.c
diff --git a/gcc/testsuite/gcc.dg/attr-alwaysinline.c b/gcc/testsuite/gcc.dg/attr-alwaysinline.c
deleted file mode 100644 (file)
index 8ff92b2..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Test always_inline attribute, which forces inlining of functions
-   even at no optimization.  */
-/* Origin: Aldy Hernandez <aldyh@redhat.com>.  */
-/* { dg-do compile } */
-/* { dg-options "-O0" } */
-
-static inline int sabrina (void) __attribute__((always_inline));
-
-static inline int sabrina (void)
-{
-  return 13;
-}
-
-int bar (void)
-{
-  return sabrina () + 68;
-}
-
-/* { dg-final { scan-assembler-not "sabrina" } } */