blob: 80566f74f14e30abd1120f90d6e05bae50f5d4af (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* 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" } */
{
}
|