1 // g++ 1.36.1 bug 900221_01
5 // Section 3.2 of the C++ 2.0 Reference Manual says:
7 // "Names of formal arguments for a function are treated as if they
8 // were declared in the outermost block of that function"
10 // g++ does not enforce this treatment.
12 // Cfront 2.0 passes this test.
14 // keywords: scope, formal parameters
16 void function (int arg1)
18 int arg1; // ERROR - redeclaration of arg1
21 int main () { return 0; }