| Issue | 243769 |
|---|---|
| Summary | [clang] Rejects compund literal of type void |
| Labels | clang |
| Assignees | |
| Reporter | chrchr-github |
Similar to https://github.com/llvm/llvm-project/issues/226485:
```c++
void f() {
(void){};
}
```
gcc accepts.
https://godbolt.org/z/M5G7E4YdP_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
