| Issue |
75781
|
| Summary |
clang crashes when performing initialization on invalid code.
|
| Labels |
clang:frontend,
crash-on-invalid
|
| Assignees |
|
| Reporter |
hokein
|
clang crashes on the the following invalid code:
```
template <class T, typename U>
struct A { T a; U b;};
template<typename K>
struct A<int, int> { int a; K b;};
void s() {
A<int, int> a{1, 2};
}
```
https://godbolt.org/z/vEh15cEzz
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs