https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91693
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The inline part of the template variable does not make a difference. Reduced testcase: template <int> char hh= 0; static_assert(&hh<0> != &hh<1>, "should not be equal");