------- Comment #5 from aaw at gcc dot gnu dot org  2007-08-06 21:24 -------
No segfault, but it does give an "is already declared in this scope" error. 
Contrary to the claim in the initial bug submission, this is valid code.

>From paragraph 10, section 7.3.3 of the C++ standard:

Since a using-declaration is a declaration, the restrictions on declarations of
the same name in the same declarative region (3.3) also apply to
using-declarations.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31749

Reply via email to