1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
10 foo (void *dpy
, struct _wincore
*winInfo
, int offset
)
12 fn1 (winInfo
->height
);
16 bar (void *dpy
, int winInfo
, int *visrgn
)
18 ((void (*) (void *, int, int)) foo
) ((void *) 0, winInfo
, 0); /* { dg-warning "function called through a non-compatible type" } */
23 baz (void *dpy
, int win
, int prop
)
25 bar ((void *) 0, 0, (int *) 0);