fork download
  1. struct A
  2. {
  3. int x;
  4.  
  5. A(): A(10) {}
  6.  
  7. private:
  8. A(int val): x(val) {}
  9. };
  10.  
  11. int main(int argc, char* argv[])
  12. {
  13. A a;
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty