(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1y/
auto-fn63.C
// PR c++/105779
// { dg-do compile { target c++14 } }

template<int>
struct struct1
{
  static auto apply() { return 1; }
};

int method(int(*f)());

int t = method(struct1<1>::apply);