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

Drea Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |accepts-invalid, wrong-code
             Blocks|67491                       |

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct X {
    operator bool() const = delete; 
    operator int() const {
        return 1;
    }
};
int f(X x)
{
  return 1 << x;
}
```


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues

Reply via email to