summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr27953.c
blob: 92a63d83686680a104c50177808e4a85496c087a (plain)
1
2
3
4
/* PR c/27953 */

void foo(struct A a) {}  /* { dg-error "parameter list|definition|incomplete type" } */
void foo() {}            /* { dg-error "redefinition" } */