Debian Codegraph @

gcc/testsuite/g++.dg/template/incomplete9.C

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 }