1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
10 void fn2 (int, int, int *);
13 foo (void *dpy
, struct _wincore
*winInfo
, int offset
)
15 fn1 (winInfo
->height
);
19 bar (void *dpy
, int winInfo
, int *visrgn
)
21 ((void (*) (void *, int, int)) foo
) ((void *) 0, winInfo
, 0); /* { dg-warning "function called through a non-compatible type" } */
26 baz (void *dpy
, int win
, int prop
)
28 bar ((void *) 0, 0, (int *) 0);