fork(1) download
  1. #include <iostream>
  2. struct A {
  3. int x;
  4.  
  5. };
  6. void foo(A a) {
  7. std::cout << a.x << std::endl;
  8. }
  9. int main() {
  10. A a;
  11. foo(a);
  12. foo(A());
  13. }
  14.  
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
134514720
0