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