fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void check(int) {
  5. cout << "im kinda lucky";
  6. }
  7.  
  8. void check(float) {
  9. cout << "oh noes";
  10. }
  11.  
  12. int main() {
  13. check(false ? true : 0);
  14. return 0;
  15. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
im kinda lucky