public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95434] New: ICE for CTAD in generic lambda within variadic lambda
@ 2020-05-30  5:34 johelegp at gmail dot com
  2020-05-30  5:41 ` [Bug c++/95434] " johelegp at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: johelegp at gmail dot com @ 2020-05-30  5:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95434
           Summary: ICE for CTAD in generic lambda within variadic lambda
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
  Target Milestone: ---

The following snippet ICEs. See https://godbolt.org/z/-fZVX4.
```C++
template <class T> struct type { T value; };
template <class T> type(T) -> type<T>;
void f()
{
    []<template <class> class... Ts>()
    {
        (..., []<template <class> class T>() {
            T{0};
        }.template operator()<Ts>());
    }
    .template operator()<type>();
}

```

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

end of thread, other threads:[~2021-04-20 16:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-30  5:34 [Bug c++/95434] New: ICE for CTAD in generic lambda within variadic lambda johelegp at gmail dot com
2020-05-30  5:41 ` [Bug c++/95434] " johelegp at gmail dot com
2020-07-14 20:59 ` ppalka at gcc dot gnu.org
2020-08-12  0:51 ` johelegp at gmail dot com
2021-01-19 15:08 ` ppalka at gcc dot gnu.org
2021-01-20 14:55 ` cvs-commit at gcc dot gnu.org
2021-02-03  5:43 ` johelegp at gmail dot com
2021-04-20 16:09 ` cvs-commit at gcc dot gnu.org
2021-04-20 16:11 ` 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).