summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/ice990323-3.C
blob: 37d5b693934a7428d7aa006acf63c947c30ebfd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// try throwing overloaded function

void f(int)
{
}

void f(long)
{
}

void g()
{
	throw &f; // { dg-error "" } insufficient contextual information
}