Crash in getPackSubstitutedTemplateArgument · Issue #53609 · llvm/llvm-project (original) (raw)
The following valid code causes a crash in all versions of clang I have tested (-std=c++17
).
template <class, int> struct a;
template <class, class...> struct b; template <class x, class... y, y... z> struct b<x, a<y, z>...> {};
template <class... x> struct c: b... {};
c d;