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

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 22 08:01:00 GMT 2007



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-09-22 08:00 -------
That is the following:

struct foo_bar;

typedef foo_bar bar;

struct foo_bar {
         typedef int     baz;
         foo_bar::baz   ii;
};

is fine.


-- 


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



More information about the Gcc-bugs mailing list