https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103732
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > constexpr int y = s0.C; The above is now valid due to https://wg21.link/p2280r2 (which was acecpted as a defect report against all C++ versions). >constexpr int z = a[i]->C; I think this is invalid still because it is a pointer (not a this pointer) and not a reference.