fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. char c = 'a';
  6. if(c=='a')goto _a;
  7. if(c=='b')goto _b;
  8. goto _default;
  9. goto _break;
  10. _a: cout << 'a' << endl;
  11. goto _break;
  12. _b: cout << 'b' << endl;
  13. goto _break;
  14. _default:
  15. goto _break;
  16. _break:
  17. return 0;
  18. }
Success #stdin #stdout 0s 4512KB
stdin
Standard input is empty
stdout
a