Main.cc: In function 'int main()':
Main.cc:6:9: error: redeclaration of 'int a'
int a=1;
^
Main.cc:5:9: note: 'int a' previously declared here
int a,b;
^
Main.cc:7:9: error: redeclaration of 'int b'
int b=2;
^
Main.cc:5:11: note: 'int b' previously declared here
int a,b;
^