blob: 4332e0fcec41a4bc5b6063218fb1bf37a96a5cba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { 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
}
|