☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
overload3.C
☽
☼
gcc/testsuite/g++.dg/template/overload3.C
code
plain
raw
1
// PR c++/16870
2
3
struct A
4
{
5
int operator[](int) const;
6
};
7
8
template<int> A foo();
9
10
A bar(A(*)());
11
12
template<int> int baz() { return (bar(&foo<0>))[0]; }
13
14
template int baz<0>();