Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.dg / Wpointer-to-int-cast-1.c
blobd9362a2d119e033951b957a15a7612e8ef718adc
1 /* Test -Wpointer-to-int-cast - on by default. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
6 void *p;
8 char
9 f (void)
11 return (char) p; /* { dg-warning "warning: cast from pointer to integer of different size" } */