FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / overload30.C
blob24485c5851dcd37ba654940d2cd5eb31ad3994a5
1 // PRMS Id: 6412
2 // Build don't link:
4 class Foo;
6 template <class F>
7 class Temp
9   F  func_;
10 public:
11   Temp (F f) : func_(f) {}
14 template <class T>
15 T* func1 (T* t) { return t; }
17 Temp<Foo*(*)(Foo*)> temp2(func1);