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

14 lines
207 B
C

// { dg-do assemble }
// try throwing template function name
template <class T> void f(T);
template <class T> void f(T)
{
}
void g()
{
throw &f; // { dg-error "" } insufficient contextual information
}