blob: 45225e3f0ceda1ee8675c351dcbd9bb745e10ac8 [file] [log] [blame]
// Build don't link:
// check attempting to throw an overloaded function
struct A {
void f(int);
void f(long);
};
void g()
{
throw &A::f; // ERROR - insufficient context
}