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
}