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