int main(){
int a = 0; //#1
int a = 1; //#2
}
Consider the above code,I only find some quotes related to the question is,
[basic.scope.declarative]
Given a set of declarations in a single declarative region, each of which specifies the same unqualified name:
1. they shall all refer to the same entity ,or all refer to functions and function templates;
Is the above quote a interpretation for why the program is ill-formed If more than one declaration declare the same name that denote the variable.If it's not,please correct me with some quotes that interpret why this situation is ill-formed.