2 /* { dg-do compile } */
3 /* { dg-options "-Wc++-compat" } */
5 extern void xfer (int, int, unsigned char *);
9 call (int x
, int y
, void *arg
)
11 unsigned char *uc
= arg
; /* { dg-warning "23:request for implicit conversion" } */
12 xfer (x
, y
, arg
); /* { dg-warning "15:request for implicit conversion" } */
13 xfer (x
, y
, t
); /* { dg-error "15:incompatible type for" } */