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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to 康桓瑋 from comment #3)
> (In reply to Marek Polacek from comment #2)
> > Started with r12-5386, obviously.
> 
> I don't know if it is caused by the same bug.
> 
> template<auto>
> concept C = auto([]{});
> static_assert(C<0>);
> 
> https://godbolt.org/z/nj6qbGxP7

That's a different bug, but I think I can fix that too.

Reply via email to