]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ttp24.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp24.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp24.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp24.C
deleted file mode 100644 (file)
index 1e6278f..0000000
+++ /dev/null
@@ -1,22 +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> int f()
-{
-       D<E> d;
-       return d.f();
-};
-
-int main()
-{
-       f<D,int>();
-       f<D,char>();
-}