| Issue | 61441 |
|---|---|
| Summary | clang crash on invalid parameter type of a lambda |
| Labels | clang, crash-on-invalid |
| Assignees | |
| Reporter | usx95 |
```cpp
template <class>
void foo() {
[&](__fp16) { return 0; }(1);
}
void bar() { foo<int>(); }
```
https://godbolt.org/z/87n4d7zc8
We recently saw this crash coming up in clangd (on invalid code).
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
