public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99516] New: Erroneous lambda conversion in default non-type template list
@ 2021-03-10 12:25 hewillk at gmail dot com
  2024-04-13  7:46 ` [Bug c++/99516] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: hewillk at gmail dot com @ 2021-03-10 12:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99516
           Summary: Erroneous lambda conversion in default non-type
                    template list
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

GCC 9, 10, 11 rejects the following code:

template <decltype([]{}) = {}> 
struct S {};

S<> s;

(godbolt: https://godbolt.org/z/Gs4776)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/99516] Erroneous lambda conversion in default non-type template list
  2021-03-10 12:25 [Bug c++/99516] New: Erroneous lambda conversion in default non-type template list hewillk at gmail dot com
@ 2024-04-13  7:46 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-13  7:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-04-13
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=99513
           Keywords|                            |rejects-valid

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-13  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 12:25 [Bug c++/99516] New: Erroneous lambda conversion in default non-type template list hewillk at gmail dot com
2024-04-13  7:46 ` [Bug c++/99516] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).