access1.C
418 Bytes
-
re PR c++/5659 (default access for class/struct bug) · df867456
cp: PR c++/5659 * decl.c (xref_tag): Don't set CLASSTYPE_DECLARED_CLASS here. * decl2.c (handle_class_head): Set CLASSTYPE_DECLARED_CLASS for definitions. testsuite: * g++.dg/other/access1.C: New test. From-SVN: r50692
Nathan Sidwell committed