1 /* { dg-do compile } */
2 /* { dg-options "-Wno-pointer-sign" } */
5 void f2(unsigned long *);
15 ulp
= lp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
16 lp
= ulp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
17 f1(ulp
); /* { dg-bogus " differ in signedness" } */
18 f2(lp
); /* { dg-bogus " differ in signedness" } */
20 cp
= ucp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
21 cp
= scp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
22 ucp
= scp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
23 ucp
= cp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
24 scp
= ucp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */
25 scp
= cp
; /* { dg-bogus " pointer targets in assignment differ in signedness" } */