summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wpointer-sign-Wall.c
blob: e72d37a18ce5648598dd39af9cd1ac3e1d106d9f (plain)
1
2
3
4
5
6
7
8
9
/* This is from PR c/25892.  See Wpointer-sign.c for more details.  */

/* { dg-options "-Wall" } */

void foo(unsigned long* ulp);

void bar(long* lp) {
  foo(lp); /* { dg-warning "differ in signedness" } */
}