https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128889

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Actually C++98 reduced testcase:
```
struct X {
    operator bool() const;
    operator int() const;
};
int f(X x)
{
  return 1 << x;
}
```

clang and edg reject the above with saying the conversion to int/bool is
ambigous.
This has to be a defect report ...

Reply via email to