constexpr.c
235 KB
-
PR c++/93257 - consteval void function. · 596334fa
A prvalue can have void type, and if it doesn't do anything prohibited in a constant expression, it's vacuously constant. * constexpr.c (verify_constant): Allow void_node.
Jason Merrill committed