OSDN Git Service

cp:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp72.C
1 // Build don't link:
2
3 template<class P> struct B
4 {
5   template<class T> void f(T& t) { t = T(); }
6 };
7
8 enum ptype { t1, t2};
9
10 struct D : public B<ptype>
11 {
12   void g(double& d) { f(d); }
13 };
14
15
16 D d;
17