[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-15 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-15 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 Alfred Agrell changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 --- Comment #2 from Andrew Pinski --- Interesting take the following: ``` void a(...); template bool b1() { return requires (void (*v)(...)) { v(v(1)); }; } bool c() { return b1(); } ``` Clang and GCC both say this returns 1 but MSVC retu

[Bug c++/119814] requires-clauses think void can be passed to ...

2025-04-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119814 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|