| Issue |
243848
|
| Summary |
[clang] unnamed struct definition in nested lambda parameter leads to crash
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
Pedda1712
|
The following:
```c++
void f()
{
[](auto)
{
[](struct {}) {}();
}(0);
}
```
crashes on trunk (https://godbolt.org/z/PK3M467bK). Has been crashing since clang-17.
When compiling locally with the 23.1.5 release, I get the following backtrace.
[tracef.txt](https://github.com/user-attachments/files/35031060/tracef.txt)
**This test case was generated by a fuzzer.**
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs