Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / Wint-to-pointer-cast-1.c
blobddb10577d08f7416ebafe40240636990857f07a5
1 /* Test -Wint-to-pointer-cast - on by default. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "" } */
6 char c;
8 void *
9 f (void)
11 return (void *) c; /* { dg-warning "warning: cast to pointer from integer of different size" } */