summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wpointer-sign-pedantic-no.c
blob: d4f597fe79e9a7203b40565a0b8a63cb719d1588 (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 "-Wno-pointer-sign -pedantic" } */

void foo(unsigned long* ulp);

void bar(long* lp) {
  foo(lp);
}