2 /* { dg-do compile } */
3 /* { dg-options "-fpermissive -Wall" } */
5 void foo (int, int[*]); /* { dg-message "previous declaration of 'foo' with type" } */
7 foo (int x
, int y
) /* { dg-warning "return type defaults to 'int'" } */
8 { /* { dg-warning "conflicting types for 'foo'" "" { target *-*-* } .-1 } */
9 /* { dg-message "declared here" "" { target *-*-* } .-2 } */
10 return (x
>= 0) != (y
< 0); /* { dg-warning "'return' with a value, in function returning void" } */