]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr56724-3.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr56724-3.c
CommitLineData
8ffcdea8
MP
1/* PR c/56724 */
2/* { dg-do compile } */
3/* { dg-options "-Wc++-compat" } */
4
5extern void xfer (int, int, unsigned char *);
6struct T { int a; } t;
7
8void
9call (int x, int y, void *arg)
10{
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" } */
14}