https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54196
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Summary|gcc doesn't find |gcc doesn't find
|incompatible exception |incompatible exception
|specification for operator |specification
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is the testcase really, it has nothing to do with operators but the
problem is really we don't
struct a{a()throw(){}};
struct b{b()throw(){}};
void *foo() throw(a);
int main(int argc, char *argv[])
{
void* (*pf1)() throw (b) = foo;
}