https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104000
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|1 |0 Status|NEW |UNCONFIRMED --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, MSVC rejects it: <source>(5): error C7595: 'A::A': call to immediate function is not a constant expression Are you sure this is not a bug in clang?