re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions)
PR c/44772 * c-decl.c (warn_cxx_compat_finish_struct): Don't call pointer_set_contains if DECL_NAME is NULL. * gcc.dg/Wcxx-compat-21.c: New test. From-SVN: r166384
Showing
gcc/testsuite/gcc.dg/Wcxx-compat-21.c
0 → 100644
Please
register
or
sign in
to comment