[Bug c++/57752] New: during the lookup for a base class name, non-type names should be ignored
vanyacpp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 28 13:08:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57752
Bug ID: 57752
Summary: during the lookup for a base class name, non-type
names should be ignored
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vanyacpp at gmail dot com
[class.derived]p2 says:
"During the lookup for a base class name, non-type names are ignored."
So gcc should compile this program:
struct x
{};
namespace
{
namespace x
{
struct y : x
{};
}
}
More information about the Gcc-bugs
mailing list