☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn63.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/auto-fn63.C
code
plain
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);