zyn0217 wrote:

It is interesting to note that, if we exchange the position of two template 
parameters, i.e.

```cpp
template <class T>
concept C = false;

template <typename T, unsigned N> struct S {};

template <template <C, unsigned> typename T, unsigned N> // The 
template-template parameter now precedes the NTTP
int wow(T<int, N> ts);

int main() { return wow<S, 3>(S<int, 3>{}); }
```

then the crash disappears.

https://github.com/llvm/llvm-project/pull/76811
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to