public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99180] New: ICE with alias template and empty parameter pack
@ 2021-02-20 15:37 szilardszaloki at gmail dot com
  2021-02-22  9:51 ` [Bug c++/99180] " marxin at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: szilardszaloki at gmail dot com @ 2021-02-20 15:37 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99180
           Summary: ICE with alias template and empty parameter pack
           Product: gcc
           Version: 11.0
               URL: https://godbolt.org/z/qrGn34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: szilardszaloki at gmail dot com
  Target Milestone: ---

template <bool, typename... Ts>
struct A {
    A(Ts...) {}
};

template <typename... Ts>
using B = A<false, Ts...>;

template <typename... Ts>
using C = A<true, Ts...>;

template <typename... Ts>
A(Ts...) -> C<Ts...>;

int main(int const, char const* const []) {
    B{};
    return 0;
}

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

end of thread, other threads:[~2023-07-07  9:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-20 15:37 [Bug c++/99180] New: ICE with alias template and empty parameter pack szilardszaloki at gmail dot com
2021-02-22  9:51 ` [Bug c++/99180] " marxin at gcc dot gnu.org
2021-02-23 12:08 ` [Bug c++/99180] [10/11 Regression] " rguenth at gcc dot gnu.org
2021-02-26 12:54 ` rguenth at gcc dot gnu.org
2021-03-03 20:32 ` mpolacek at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-04-09 21:09 ` jason at gcc dot gnu.org
2021-04-10  4:07 ` cvs-commit at gcc dot gnu.org
2021-04-10  4:08 ` [Bug c++/99180] [10 " jason at gcc dot gnu.org
2021-04-10  4:17 ` jason at gcc dot gnu.org
2021-04-14 14:57 ` ppalka at gcc dot gnu.org
2021-04-14 14:58 ` ppalka at gcc dot gnu.org
2021-05-20 21:35 ` cvs-commit at gcc dot gnu.org
2022-06-28 10:43 ` jakub at gcc dot gnu.org
2023-07-07  9:28 ` rguenth 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).