fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. #ifdef BRANCH_ONE
  8. cout << "Branch One" << endl;
  9. #endif
  10.  
  11. #ifdef BRANCH_TWO
  12. cout << "Branch Two" << endl;
  13. #endif
  14.  
  15. cout << "Both Branches" << endl;
  16.  
  17. return 0;
  18. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty