| Issue | 161514 |
|---|---|
| Summary | Clang accepts incorrect concept decl |
| Labels | clang |
| Assignees | |
| Reporter | wangbo15 |
The following code is accepted by clang-trunk, while GCC and MSVC reject it.
```
template <typename>
concept a = b<[] {}>();
int main() {}
```
Please refer to: https://godbolt.org/z/hvr3xn5xd
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
