2 // g++ 1.36.1 bug 900221_01
6 // Section 3.2 of the C++ 2.0 Reference Manual says:
8 // "Names of formal arguments for a function are treated as if they
9 // were declared in the outermost block of that function"
11 // g++ does not enforce this treatment.
13 // Cfront 2.0 passes this test.
15 // keywords: scope, formal parameters
17 void function (int arg1)
19 int arg1; // { dg-error "" } redeclaration of arg1
22 int main () { return 0; }