| Issue |
60953
|
| Summary |
clang: redeclaration of template with deduced class type placeholder does not work
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
J-Richter
|
```
template<int N> struct Str;
template<Str... A> struct Alt;
template<int N> struct Str {};
template<Str... A> struct Alt {};
```
gives:
template non-type parameter has a different type 'Str' in template redeclaration
Forward declaring this struct should work.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs