fork download
  1. class A
  2. {
  3. A a;
  4. };
  5.  
  6. int main()
  7. {
  8. A a;
  9. return 0;
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
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]
stdout
Standard output is empty