Merge from mainline
[official-gcc.git] / gcc / testsuite / gcc.dg / Wpointer-sign-pedantic.c
blob25e25209e524d98220ae5a9f1e03ee434ddf1aa9
1 /* This is from PR c/25892. See Wpointer-sign.c for more details. */
3 /* { dg-options "-pedantic" } */
5 void foo(unsigned long* ulp);
7 void bar(long* lp) {
8 foo(lp); /* { dg-warning "differ in signedness" } */