[Clang][Windows] Accepts invalid `[] int x;`
Open
accepts-invalid
clang:frontend
confirmed
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
```c++
[] int x;
```
This code is invalid but accepted by Clang on Windows, reproducible with the main branch.
See https://compiler-explorer.com/z/s65rv9Pcf. (clang-cl 18.1 only)
Contributor guide
Assessment
This issue has not been assessed yet.