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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-10-26

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. reduced testcase without includes:
```
template<typename T, typename T1>
constexpr bool same = false;
template<typename T>
constexpr bool same<T, T> = true;

template<typename T>
struct A {
    A() = default;
    A() requires (same<T,int>) = delete;
};

A<int> a;
```

Reply via email to