1 /* Test -Wno-int-to-pointer-cast. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "-Wno-int-to-pointer-cast" } */
20 /* { dg-warning "cast from pointer to integer of different size" "" { target c } .-1 } */
21 /* { dg-error "cast from 'void\\*' to 'char' loses precision" "" { target c++ } .-2 } */