Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.robertl/ice990323-4.C

raw
1 // { dg-do assemble }
2 // try throwing template function name
3
4 template <class T> void f(T);
5
6 template <class T> void f(T)
7 {
8 }
9
10 void g()
11 {
12 throw &f; // { dg-error "" } insufficient contextual information
13 }