blob: 8710e19f87c89c2449f29bed4e21426191892031 [file] [log] [blame]
// PR c++/41769
void f(void operator+()); // { dg-error "13:declaration" }
void g()
{
try
{
}
catch(void operator+()) // { dg-error "14:declaration" }
{
}
}