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