[Bug c++/28056] New: [4.1/4.2 regression] enum accepted as scope
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 16 08:55:00 GMT 2006
The following invalid code is accepted on mainline and 4.1 branch:
===========================
enum A {};
void foo() { A::bar(); }
===========================
Mark, this was caused by your patch for PR27665.
Would you mind havin a look?
--
Summary: [4.1/4.2 regression] enum accepted as scope
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: accepts-invalid, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28056
More information about the Gcc-bugs
mailing list