]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/ttp35.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / ttp35.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp35.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp35.C
deleted file mode 100644 (file)
index 655f406..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-template<int T, class U = int> class D
-{
-       public:
-               int f();
-};
-
-template<int T, class U> int D<T,U>::f()
-{
-       return T+sizeof(U);
-}
-
-template<template<int> class D,class E> class C
-{
-               D<1> d;
-       public:
-               int f() { return d.f(); }
-};
-
-template<template<int> class D> int f(D<2> &d1)
-{
-       d1.f();
-       return 0;
-}
-
-template<template<int> class D> int f(D<1> &d1)
-{
-       d1.f();
-       return 0;
-}
-
-int main()
-{
-       D<1> c1;
-       f(c1);
-}