fork download
  1. #include <iostream>
  2.  
  3.  
  4. void xz()
  5. {
  6. try { throw(1); }
  7. catch (...)
  8. {
  9. printf("-> 1\n");
  10. try { throw(1); }
  11. catch (...)
  12. {
  13. printf("-> 2\n");
  14. try { throw(1); }
  15. catch (...)
  16. {
  17. printf("-> 3\n");
  18. }
  19. printf("-> 4\n");
  20. }
  21. printf("-> 5\n");
  22. }
  23. printf("-> 6\n");
  24. }
  25.  
  26. int main()
  27. {
  28. xz();
  29. }
Success #stdin #stdout 0s 4380KB
stdin
Standard input is empty
stdout
-> 1
-> 2
-> 3
-> 4
-> 5
-> 6