I can't get this to compile as C++. I get an error
[Error]Multiple declaration for 'a'
or
[Error] redefinition of 'int a'
However, when compiled as C instead. it does seem to compile.
I'm not sure of the rules here, and how the two languages differ. I could guess (but that isn't useful).