1// PR c++/62659
2
3struct D {
4  typedef int (D::*cont_func)();
5  template <cont_func> struct B;
6  template <cont_func cont_f> void wait(B<cont_f> ***);
7
8  int done();
9  template <bool> void fix() { wait<&D::done>(0); }
10};
11