1 /* { dg-do compile } */
2 /* { dg-options "" } */
5 f1 (int flag
, int *a
, long *b
)
7 return flag
? a
: b
; /* { dg-warning "pointer type mismatch in conditional expression \\\[-Wincompatible-pointer-types\\\]" } */
8 /* { dg-note "first expression has type 'int \\*'" "" { target *-*-* } .-1 } */
9 /* { dg-note "second expression has type 'long int \\*'" "" { target *-*-* } .-2 } */