https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123550
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code, |ice-on-valid-code,
|ice-on-invalid-fuzzy |rejects-valid
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Valid code:
```
template <auto = [] {
struct LocalType {
auto operator<=>(const LocalType &other) const = default;
};
constexpr LocalType a, b;
static_assert(noexcept(a <=> b), "");
}> struct s1{};
```