/in/foo.cc: In function 'int main()':
/in/foo.cc:11:6: error: conflicting declaration 'int a1'
int a1,a2,a3;
^~
/in/foo.cc:6:9: note: previous declaration as 'int a1 [10000]'
int a1[10000];
^~
/in/foo.cc:11:9: error: conflicting declaration 'int a2'
int a1,a2,a3;
^~
/in/foo.cc:7:6: note: previous declaration as 'int a2 [10000]'
int a2[10000];
^~
/in/foo.cc:11:12: error: conflicting declaration 'int a3'
int a1,a2,a3;
^~
/in/foo.cc:8:6: note: previous declaration as 'int a3 [10000]'
int a3[10000];
^~
/in/foo.cc:17:1: error: expected ';' before '}' token
}
^
/in/foo.cc:6:9: warning: unused variable 'a1' [-Wunused-variable]
int a1[10000];
^~
/in/foo.cc:7:6: warning: unused variable 'a2' [-Wunused-variable]
int a2[10000];
^~
/in/foo.cc:8:6: warning: unused variable 'a3' [-Wunused-variable]
int a3[10000];
^~
/in/foo.cc:9:6: warning: unused variable 'result1' [-Wunused-variable]
int result1[10000];
^~~~~~~
/in/foo.cc:10:6: warning: unused variable 'result2' [-Wunused-variable]
int result2[10000];
^~~~~~~
/in/foo.cc:12:6: warning: unused variable 'count1' [-Wunused-variable]
int count1,count2;
^~~~~~
/in/foo.cc:12:13: warning: unused variable 'count2' [-Wunused-variable]
int count1,count2;
^~~~~~