fork download
  1. int x;
  2. int x;
  3.  
  4. int main()
  5. {
  6. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2: error: redefinition of ‘int x’
prog.cpp:1: error: ‘int x’ previously declared here
stdout

Standard output is empty