fork(2) download
  1. struct Foo
  2. {
  3. int x;
  4. } Foo;
  5.  
  6. int main()
  7. {
  8. Foo localFoo;
  9. }
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:6: error: expected ‘;’ before ‘localFoo’
  Foo localFoo;
      ^
prog.cpp:8:14: warning: statement has no effect [-Wunused-value]
  Foo localFoo;
              ^
stdout
Standard output is empty