| Issue | 97795 |
|---|---|
| Summary | Clang rejects `[] throw () {}` |
| Labels | clang |
| Assignees | |
| Reporter | hewillk |
This is well-formed : `[] () throw () {};`, so `[] throw () {};` should also be well-formed because we are down with `()` in C++23, right?
```cpp
int main() {
[] () throw () {}; // ok
[] throw () {}; // not ok
}
```
https://godbolt.org/z/bf7rrh7Ks
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
