re PR c++/72707 (local anonymous union member hides names in the same scope)
PR c++/72707 * name-lookup.c (pushdecl_maybe_friend_1): Do check shadowing of artificial x if it is an anonymous union variable. * g++.dg/warn/Wshadow-12.C: New test. From-SVN: r243877
Showing
gcc/testsuite/g++.dg/warn/Wshadow-12.C
0 → 100644
Please
register
or
sign in
to comment