libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / pr27953.c
blob8da92c1d3e2c48dcd422af63f862ef09cdbd7f83
1 /* PR c/27953 */
3 void foo(struct A a) {} /* { dg-warning "declared inside parameter list" "inside" } */
4 /* { dg-warning "its scope is only" "scope" { target *-*-* } 3 } */
5 /* { dg-error "incomplete type" "incomplete" { target *-*-* } 3 } */
7 void foo() {} /* { dg-error "redefinition" "redef" } */
8 /* { dg-message "note: previous definition" "previous" { target *-*-* } 3 } */