public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/109337] New: c++2a test concepts4.C passes when it should fail
@ 2023-03-29 18:55 cjdb.ns at gmail dot com
  2023-03-29 18:59 ` [Bug c++/109337] " pinskia at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: cjdb.ns at gmail dot com @ 2023-03-29 18:55 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109337
           Summary: c++2a test concepts4.C passes when it should fail
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: cjdb.ns at gmail dot com
  Target Milestone: ---

Clang and GCC disagree on the validity of concepts4.C. I think Clang is correct
here, because forming a reference to `void` should be ill-formed.

https://godbolt.org/z/es5GxYhzd

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

end of thread, other threads:[~2023-03-30 17:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29 18:55 [Bug c++/109337] New: c++2a test concepts4.C passes when it should fail cjdb.ns at gmail dot com
2023-03-29 18:59 ` [Bug c++/109337] " pinskia at gcc dot gnu.org
2023-03-29 19:02 ` pinskia at gcc dot gnu.org
2023-03-29 19:08 ` cjdb.ns at gmail dot com
2023-03-29 19:09 ` pinskia at gcc dot gnu.org
2023-03-29 19:11 ` pinskia at gcc dot gnu.org
2023-03-29 20:13 ` richard-gccbugzilla at metafoo dot co.uk
2023-03-30 17:08 ` ppalka 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).