// PR c++/15329 struct S {}; template struct X { S s; void foo (void (S::*p)()) { (s.*p)(); } };