1// PR c++/15329 2 3struct S {}; 4 5template <typename> struct X { 6 S s; 7 void foo (void (S::*p)()) 8 { (s.*p)(); } 9}; 10