]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/inline15.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / inline15.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/inline15.C b/gcc/testsuite/g++.old-deja/g++.other/inline15.C
deleted file mode 100644 (file)
index b6eede5..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Build don't link:
-// Origin: Jakub Jelinek <jakub@redhat.com>
-// Special g++ Options: -O1
-
-class Type;
-template<class E>
-class X
-{
-public:
-  X<E>();
-  inline X<E>(int);
-  inline ~X<E>();
-};
-template<class E> const Type &foo(const X<E> *);
-template<class E> inline X<E>::X(int x)
-{
-  const Type &a = foo(this);
-}
-template<class E> inline X<E>::~X()
-{
-  const Type &a = foo(this);
-}
-class Y
-{
-  X<Type> a;
-public:
-  Y(const X<Type> &x = X<Type>());
-};
-Y::Y(const X<Type> &x) : a(1)
-{
-}