1 /* Test -Wpointer-to-int-cast. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "-Wpointer-to-int-cast" } */
11 return (char) p
; /* { dg-warning "warning: cast from pointer to integer of different size" } */