https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104160
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, MSVC accepts this code just like GCC. ICC does too. Only clang rejects it. If Value was not marked as a constexpr, then GCC rejects it too. I do have wonder if clang is right to reject this or not.