https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124558
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Obviously, it is required to do so.
The test is invalid.
You can e.g. use std::declare_static_array(annotations_of(^^c::c1))
instead of annotations_of(^^c::c1) (or
[:std::meta::reflect_constant_array(annotations_of(^^c::c1)):]) etc., see
https://wg21.link/p3491r3 for further details.