]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/inline11.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline11.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/inline11.C b/gcc/testsuite/g++.old-deja/g++.other/inline11.C
deleted file mode 100644 (file)
index 2fde184..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// Build don't link:
-// Origin: Jakub Jelinek <jakub@redhat.com>
-// Special g++ Options: -O2
-
-class baz
-{
-public:
-  baz& operator += (const baz&);
-};
-inline baz& baz::operator += (const baz& r)
-{
-  return *this;
-}
-
-inline baz operator + (int x, const baz& y)
-{
-  return y;
-}
-
-static inline baz bar (int alpha);
-static inline baz foo (int alpha)
-{
-  baz tmp = alpha + foo (alpha);
-  tmp += alpha + bar (alpha);
-  return tmp;
-}
-
-static inline baz bar (int alpha)
-{
-  baz tmp = alpha + bar (alpha);
-  tmp += alpha + foo (alpha);
-  return tmp;
-}