Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-fn63.C

raw
1 // PR c++/105779
2 // { dg-do compile { target c++14 } }
3
4 template<int>
5 struct struct1
6 {
7 static auto apply() { return 1; }
8 };
9
10 int method(int(*f)());
11
12 int t = method(struct1<1>::apply);