fork download
  1. struct B;
  2.  
  3. struct A
  4. {
  5. A(B*);
  6. };
  7.  
  8. struct B
  9. {
  10. A* a = new A(this);
  11. };
  12.  
  13. A::A(B*)
  14. {
  15.  
  16. }
  17.  
  18. int main()
  19. {
  20.  
  21. }
Success #stdin #stdout 0s 2848KB
stdin
Standard input is empty
stdout
Standard output is empty