public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105494] New: syntax error with requires { []{}(); };
@ 2022-05-05 13:35 hewillk at gmail dot com
  2022-05-05 13:39 ` [Bug c++/105494] " mpolacek at gcc dot gnu.org
  2022-10-31  8:01 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2022-05-05 13:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105494
           Summary: syntax error with requires { []{}(); };
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

maybe dup of PR99546, PR105222.

int main() {
  requires { []{}(); };    // syntax error
  requires { []{ ??? }; }; // no syntax error
}

https://godbolt.org/z/rfnssoe3T

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

* [Bug c++/105494] syntax error with requires { []{}(); };
  2022-05-05 13:35 [Bug c++/105494] New: syntax error with requires { []{}(); }; hewillk at gmail dot com
@ 2022-05-05 13:39 ` mpolacek at gcc dot gnu.org
  2022-10-31  8:01 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-05-05 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-05-05
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.

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

* [Bug c++/105494] syntax error with requires { []{}(); };
  2022-05-05 13:35 [Bug c++/105494] New: syntax error with requires { []{}(); }; hewillk at gmail dot com
  2022-05-05 13:39 ` [Bug c++/105494] " mpolacek at gcc dot gnu.org
@ 2022-10-31  8:01 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-10-31  8:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=103212

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
More likely a dup of bug 103212.

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

end of thread, other threads:[~2022-10-31  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 13:35 [Bug c++/105494] New: syntax error with requires { []{}(); }; hewillk at gmail dot com
2022-05-05 13:39 ` [Bug c++/105494] " mpolacek at gcc dot gnu.org
2022-10-31  8:01 ` 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).