https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124991
--- Comment #4 from Peter Dimov <pdimov at gmail dot com> --- This works under the EDG and Clang prototypes; the anonymous union appears in `members_of` first as a type member (with no name) and then as a data member of that type (but which is otherwise a data member as any other, so forming a pointer to member works.) https://godbolt.org/z/GoTW1E31E Splicing the type itself also works under the Clang prototype implementation: https://godbolt.org/z/zoPG6YY4o I think that this is as intended.
