[Bug c++/12272] using declaration shadows namespace

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 15 00:45:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-15 00:23 -------
With ICC 6.0, I get an error:
pr12272.cc
pr12272.cc(10): error: "NS2" is ambiguous
  typedef NS2::X Y; 
          ^

compilation aborted for pr12272.cc (code 2)



More information about the Gcc-bugs mailing list