fork download
  1. namespace N
  2. {
  3. enum E { A, B };
  4.  
  5. struct C
  6. {
  7. C(E) {}
  8. private:
  9. C(int) {}
  10. };
  11. E operator|(E, E) { return A; }
  12. }
  13.  
  14.  
  15. namespace Z
  16. {
  17. enum F {};
  18. int operator|(F, int) = delete;
  19.  
  20. void Waldo()
  21. {
  22. N::C(N::A | N::B);
  23. }
  24. }
  25.  
  26. int main() {
  27.  
  28. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty