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

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).