class A{ A a;}; int main(){ A a; return 0;}
Standard input is empty
prog.cpp:3:7: error: field ‘a’ has incomplete type prog.cpp: In function ‘int main()’: prog.cpp:8:7: warning: unused variable ‘a’ [-Wunused-variable]
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!