blob: 4773b1faebe0400ba48781b7472c6494b409cbe5 [file] [log] [blame]
// PR c++/42219
void foo(const void); // { dg-error "invalid use of cv-qualified" }
void bar()
{
void (*pf)() = foo; // { dg-error "cannot convert" }
}