aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ptrmem6.C
blob: 21475c6391186e8c85b3be841fc3742dd6256223 (plain)
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 "conversion" }
}

template void f(int S::* volatile *); // { dg-message "required" }