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

Casey Carter <Casey at Carter dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cjdb.ns at gmail dot com

--- Comment #6 from Casey Carter <Casey at Carter dot net> ---
(In reply to Jonathan Wakely from comment #5)
> I tested it with "concept" not "concept bool" i.e.
> 
> template <class T>
> concept C = true;
> 
> template <class T>
>   requires C<T>
> [[nodiscard]] int f(T t) {
>   return 22;
> }
> 
> int main() {
>   return 0;
> }

This seems to have regressed (https://godbolt.org/z/SmPx-y).

Reply via email to