Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
conversion3.C
blob: 6dbd475c65dc6500421087e3138c130f412efdc1 [
file
] [
log
] [
blame
]
// { dg-do assemble }
void
qsort
(
void
*,
int
,
int
,
int
(*)(
const
void
*,
const
void
*));
int
f
(
char
*,
char
*);
void
g
()
{
typedef
int
(*
pf
)(
void
*,
void
*);
qsort
(
0
,
0
,
0
,
pf
(
f
));
// { dg-error "" } adding const to function parms
}