https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The error message from clang is:

<source>:28:19: note: function parameter 'JSONValue' with unknown value cannot
be used in a constant expression
    if constexpr (JSONValue.isArray()) {
                  ^

Reply via email to