summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp94.C
blob: b933a73ef9215315b64eab492f1cdf415c0a52ee (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>

struct H {
  template <class T> void k() const { }
  typedef void (H::*pmf)() const;

  pmf f() const { return &H::k<int>; }
};