public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/96229] New: Invalid specialization accepted when also constrained in base template template parameter
@ 2020-07-17  1:41 johelegp at gmail dot com
  2020-09-28 15:49 ` [Bug c++/96229] " ppalka at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: johelegp at gmail dot com @ 2020-07-17  1:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96229
           Summary: Invalid specialization accepted when also constrained
                    in base template template parameter
           Product: gcc
           Version: 10.1.0
               URL: https://godbolt.org/z/W1zh9n
            Status: UNCONFIRMED
          Keywords: accepts-invalid
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/W1zh9n.
```C++
template <class T> concept Int = requires { T{0}; };
template <template <Int> class T> struct X        { };
template <Int>   /* ^~~ */        struct Y : X<Y> { };
                                  struct Z        { };
void f() { Y<Z> x; }
```

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

end of thread, other threads:[~2020-10-13 15:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17  1:41 [Bug d/96229] New: Invalid specialization accepted when also constrained in base template template parameter johelegp at gmail dot com
2020-09-28 15:49 ` [Bug c++/96229] " ppalka at gcc dot gnu.org
2020-09-28 19:10 ` ppalka at gcc dot gnu.org
2020-10-08  4:06 ` cvs-commit at gcc dot gnu.org
2020-10-13 15:45 ` cvs-commit at gcc dot gnu.org
2020-10-13 15:46 ` 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).