fork download
  1. class A {
  2. public:
  3. A(const char* str);
  4. };
  5.  
  6. A::A(const char* str) {
  7. // ...
  8. }
  9.  
  10. A f() {
  11. return A("");
  12. }
  13.  
  14. int main() {
  15. A a = f();
  16. }
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty