Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // try throwing overloaded function
3
4 void f(int)
5 {
6 }
7
8 void f(long)
9 {
10 }
11
12 void g()
13 {
14 throw &f; // { dg-error "" } insufficient contextual information
15 }