Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41470.c
blob1c029b481bf25892b5ccbb6015ba472fb7adcff3
1 /* { dg-do compile } */
2 /* { dg-options "-fexceptions" } */
3 void *
4 af (void *a)
6 return a;
8 void
9 bf (void)
11 void *p;
13 int i = 1;
14 char v[i];
15 p = af (v);
17 cf (p);