http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57113
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-04-29 14:12:45 UTC --- (In reply to comment #0) > maybe this is the correct behaviour, but i'd expect it to work This is the correct behaviour, search the web for "name hiding"