]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ttp30.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp30.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp30.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp30.C
deleted file mode 100644 (file)
index c47b157..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-template<class T> class D
-{
-       public:
-               int f();
-};
-
-template<class T> int D<T>::f()
-{
-       return sizeof(T);
-}
-
-extern "C" void abort();
-
-template<template<class> class D,class E> class C
-{
-               D<E> d;
-       public:
-               int f() { abort(); return 0; }
-};
-
-template<class E> class C<D,E>
-{
-               D<E> d;
-       public:
-               int f();
-};
-
-template<class E> int C<D,E>::f()
-{
-       return d.f();
-}
-
-int main()
-{
-       C<D,int> c;
-       c.f();
-}