Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/decl-4.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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" } */ { }