https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100976
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- constexpr const int &r = 42; static_assert(r == 42);
jason at gcc dot gnu.org via Gcc-bugs Tue, 08 Jun 2021 12:29:39 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100976
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- constexpr const int &r = 42; static_assert(r == 42);