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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2024-09-07
     Ever confirmed|0                           |1

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Here is another example where GCC does not reject but should:
```
struct S {
    static auto constexpr a = 1, getA();
};

int main() {}

constexpr auto S::getA() { return 42; }
```

Reply via email to