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;
}

Reply via email to