int main() { int x = 0; int x = x; return 0; }
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:4:6: error: redeclaration of 'int x' int x = x; ^ prog.cpp:3:6: note: 'int x' previously declared here int x = 0; ^
Standard output is empty