blob: 80566f74f14e30abd1120f90d6e05bae50f5d4af [file] [log] [blame]
/* Redeclaration of parameters is an error. PR 13728. */
/* { dg-do compile } */
void f (int fred, /* { dg-message "note: previous definition" } */
int fred); /* { dg-error "redefinition of parameter" } */
void f2 (int fred, /* { dg-message "note: previous definition" } */
int fred) /* { dg-error "redefinition of parameter" } */
{
}