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

            Bug ID: 114497
           Summary: Alias CTAD crashes
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hokein.wu at gmail dot com
  Target Milestone: ---

Crashes on gcc trunk.

See https://gcc.godbolt.org/z/EErMqe44o

```
template <template <typename> typename T>
struct K {};

template <typename U, int...N>
class Foo {};

template <template<typename> typename TTP,
          int...N>
using Bar = Foo<K<TTP>, N...>; 

template <class T>
class Container {};
Bar t = Foo<K<Container>, 1>();

```

Reply via email to