aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/ptrmem29.C
blob: 7700c0b9722b8eca8c74c40b1fdb631d1ff5f48a (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/62659

struct D {
  typedef int (D::*cont_func)();
  template <cont_func> struct B;
  template <cont_func cont_f> void wait(B<cont_f> ***);

  int done();
  template <bool> void fix() { wait<&D::done>(0); }
};