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