Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
conversion
/
err-recover1.C
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" }
}