https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
Xi Ruoyao changed:
What|Removed |Added
Keywords|accepts-invalid |diagnostic
Severity|normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
--- Comment #4 from Xi Ruoyao ---
(In reply to Andrew Pinski from comment #3)
> Confirmed. This is a QoI issue though. We should do more rejections on
> non-dependent types inside templates.
Should we open an enhancement like "reject templates
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-06-30
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
--- Comment #2 from Xi Ruoyao ---
FWIW MSVC gives no diagnostic, and EDG gives a misleading diagnostic:
'"", line 11: error: a constexpr variable must have a literal type or a
reference type'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115715
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
--- Comment #1 fr