FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / ice990323-5.C
blob45225e3f0ceda1ee8675c351dcbd9bb745e10ac8
1 // Build don't link:
2 // check attempting to throw an overloaded function
4 struct A {
5         void f(int);
6         void f(long);
7 };
9 void g()
11         throw &A::f; // ERROR - insufficient context