Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.pt / spec1.C
blob7b173cffd71171e3d725840625b3ab47dc44d55d
1 // { dg-do assemble  }
3 template <class S, class T>
4 class mem_fun1_t {
5 public:
6   mem_fun1_t(S (T::*pf)(double)) {} 
7 };
9 template <class T>
10 class mem_fun1_t<void, T> { 
11 public:
12   mem_fun1_t(void (T::*pf)(double)) {}
15 struct Operation {
16   double eval(double) { return 0; }
19 int main() {
20   mem_fun1_t<double, Operation> m(&Operation::eval);