http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46731
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.12.01 13:52:15
Ever Confirmed|0 |1
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-01
13:52:15 UTC ---
Confirmed. EDG accepts it.
But I would argue that g is bound at first stage name-lookup
and thus it is not a dependent name and thus the error is correct.