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

ensadc at mailnesia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensadc at mailnesia dot com

--- Comment #4 from ensadc at mailnesia dot com ---
http://eel.is/c++draft/dcl.attr.annotation#2 says:

> Let E be the expression std​::​meta​::​reflect_constant(constant-expression).
E shall be a constant expression; the result of E is the underlying constant of
the annotation.

This suggests that an error should be produced when the faulty annotation is
defined (even if it's not reflected).

Reply via email to