1 2 3 4 5 6 7 8 9 10
struct S {}; void g(int S::**); template <typename T> void f (int T::* volatile *p) { g(p); // { dg-error "" } } template void f(int S::* volatile *); // { dg-error "instantiated" }