| Issue | 55401 |
|---|---|
| Summary | Clang crashes if the require clause lacks a comma |
| Labels | c++20, clang:frontend, crash-on-invalid, crash |
| Assignees | |
| Reporter | ChuanqiXu9 |
Here is the reproducer: https://godbolt.org
```
template<class> concept f = requires { 42; };
struct h {
int i = requires { { i } f }
};
```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
