Issue 130604
Summary CWG3003: Naming a deducible template for class template argument deduction
Labels c++17, clang:frontend, crash-on-invalid, regression:19
Assignees
Reporter Endilll
    Clang crashes on the following code (https://godbolt.org/z/KcoqrEME7) since 19.1.0:
```cpp
template <typename T> struct A { A(T); };

template <typename T, template <typename> class TT = A>
using Alias = TT<T>;

template <typename T>
using Alias2 = Alias<T>;

void h() { Alias2 a(42); }
void h2() { Alias a(42); }
```

>From https://github.com/cplusplus/CWG/issues/670, https://cplusplus.github.io/CWG/issues/3003.html.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to