2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp72.C
blob26bd4bc1867f7602108bb596c9dbbe1a4299ae05
1 // { dg-do assemble  }
3 template<class P> struct B
5   template<class T> void f(T& t) { t = T(); }
6 };
8 enum ptype { t1, t2};
10 struct D : public B<ptype>
12   void g(double& d) { f(d); }
16 D d;