Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
ice990323-5.C
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
}