https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
FWIW MSVC gives no diagnostic, and EDG gives a misleading diagnostic:

'"<source>", line 11: error: a constexpr variable must have a literal type or a
reference type'

Reply via email to