Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / ttp41.C
blobb260961e813949d9a2f0af448186b5b9e2279837
1 // { dg-do compile }
2 template<template<class> class D,class E> class C
4         public:
5                 int g() { return 1; }
6 };
8 template<class T> class D
10         public:
11                 int f();
14 template<class T> int D<T>::f()
16         C<D,D> c;       // { dg-error "" }
17         return c.g();   // { dg-error "" }
20 int main()
22         D<char> d;
23         d.f();