☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
incomplete9.C
☽
☼
gcc/testsuite/g++.dg/template/incomplete9.C
code
plain
raw
1
// PR c++/79420
2
3
template<int> int f ()
4
{
5
return f.x; // { dg-error "overloaded function with no contextual type information" }
6
}
7
8
void g ()
9
{
10
f<0> ();
11
}