https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83484
klaus.doldinger64 at googlemail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |klaus.doldinger64@googlemai | |l.com --- Comment #3 from klaus.doldinger64 at googlemail dot com --- Here ist a simplified version of a MCVE: template<int> struct X { static constexpr int x = 0; static constexpr int y = 1; }; template<> constexpr int X<1>::x = 2; // should be ok, but gives duplicate initialization error template<> constexpr int X<1>::y; // should be ill-formed (constexpr must be initialized), but gives undefined reference int main() { return X<1>::x + X<1>::y; }