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