Part Number: TMS320F28P650DK
Compiling a function:
long func(void)
{
long x,x,x,x,x;
x=1;
return x;
}
gives an error: error #102: "x" has already been declared in the current scope
But the following line declaring the variable globally (outside of a function) does not cause any warning or error:
long x,x,x,x,x;