blob: 0d66c1ecee1be29fd0b605458695e91806abdcaa (
plain)
1
2
3
4
5
6
7
|
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)); // ERROR - adding const to function parms
}
|