int x;int x; int main(){}
Standard input is empty
prog.cpp:2: error: redefinition of ‘int x’ prog.cpp:1: error: ‘int x’ previously declared here
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!