summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/ptrmem9.C
blob: 768024f1ee4ef8e1e8391ece9301572211cc3cd3 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// Origin: Jason Merrill <jason@cygnus.com>

struct A;
template <class T> void f (void (A::* const)(T)) {}
void (*p)(void (A::* const)(int)) = f;