1 // Test for partial specialization of a member function template.
2 // Origin: Jason Merrill <jason@cygnus.com>
4 template <class T> struct A {
5 template <class U> int f(U) { return 42; }
14 int A<double>::f(U) { return 24; }
33 int A<char>::f(U) { return 36; }