fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. struct A {
  6. explicit A() {}
  7. A(const A&) {}
  8.  
  9. ~ A() {}
  10. const A some(const A &a) {return A();}
  11.  
  12. };
  13.  
  14. int main(int argc, const char * argv[])
  15. {
  16. A a;
  17. a.some(a);
  18. }
  19.  
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
Standard output is empty