This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33516] [4.0/4.1/4.2/4.3 Regression] Rejects typedef qualified name-lookup



------- Comment #1 from rguenth at gcc dot gnu dot org  2007-09-21 08:56 -------
What I can find that supports rejecting the code is:

3.4.3(1) "Qualified name lookup":

"If the name found is not a class-name (clause 9) or namespace-name 
(7.3.1), the program is ill-formed."

7.1.3 "The typedef specifier" it says:

"A name declared with the typedef specifier becomes a typedef-name."

but then the last example should be rejected as well?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]