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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |rejects-valid
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-02-27

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced to something that is C++11 to show this never worked in GCC:
```
struct Constant {
    constexpr operator int() const noexcept { return 3; }
};

template <int N>
struct n { };

constexpr 
auto function(Constant s) -> n<s> {
    return {};
}
```

Reply via email to