[Bug c++/60894] [4.7/4.8/4.9/4.10 Regression] Use of redundant struct keyword in virtual function prototype combined with using statement causes compilation error
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 22 12:02:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60894
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reduced (whether the function is virtual or not is irrelevant):
struct B
{
struct S {};
};
struct D : B
{
using B::S;
void doIt(struct S&);
};
void D::doIt(struct S&)
{
}
More information about the Gcc-bugs
mailing list