public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/96164] New: Constraints and explicit template instantiation
@ 2020-07-11  9:01 jaahans2 at gmail dot com
  2020-07-11  9:04 ` [Bug c++/96164] " jaahans2 at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jaahans2 at gmail dot com @ 2020-07-11  9:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96164
           Summary: Constraints and explicit template instantiation
           Product: gcc
           Version: 10.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jaahans2 at gmail dot com
  Target Milestone: ---

The following code does not compile in all of gcc 10.1, msvc 19.24, and clang
10.0.0:

    template <int N>
    struct A {
        void g() requires (N == 3) {}
        void f() requires (N == 3) { g(); }
    };

    template struct A<2>;

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

end of thread, other threads:[~2023-03-15 13:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-11  9:01 [Bug c++/96164] New: Constraints and explicit template instantiation jaahans2 at gmail dot com
2020-07-11  9:04 ` [Bug c++/96164] " jaahans2 at gmail dot com
2020-07-11 16:46 ` ppalka at gcc dot gnu.org
2020-07-11 16:47 ` ppalka at gcc dot gnu.org
2020-07-30  2:15 ` cvs-commit at gcc dot gnu.org
2020-08-11  2:36 ` cvs-commit at gcc dot gnu.org
2020-08-11  2:39 ` ppalka at gcc dot gnu.org
2021-11-11 22:25 ` pinskia at gcc dot gnu.org
2023-03-15 13:25 ` 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).