OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / ptrmem6.C
1 struct S {};
2
3 void g(int S::**);
4
5 template <typename T>
6 void f (int T::* volatile *p) {
7   g(p); // { dg-error "conversion" }
8 }
9
10 template void f(int S::* volatile *); // { dg-message "required" }