fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct bar {
  5. bar() try {
  6. throw 5;
  7. }
  8. catch (int a) {
  9. cout << "zlapalem " << a << " !!!!111oneoneone" << endl;
  10. }
  11. };
  12.  
  13. int main() {
  14. try {
  15. bar b;
  16. } catch (int a) {
  17. cout << "ja tez zlapalem " << a << " ;>" << endl;
  18. }
  19. return 0;
  20. }
Success #stdin #stdout 0s 3428KB
stdin
Standard input is empty
stdout
zlapalem 5 !!!!111oneoneone
ja tez zlapalem 5 ;>