https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113074
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 56905 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56905&action=edit testcase which shows libc++ and libstdc++ difference with libstdc++, both GCC and clang reject this. with libc++, clang accepts this (I only tested clang because it was the easiest to test there).