(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
ptrmem14.C
// PR c++/15875

struct A
{
  void foo();
};

template<int> void bar()
{
  typedef void (A::*fptr)();
  fptr ptr = &A::foo;
}