[Bug c++/11828] [3.4/3.5 regression] qualified dependent name looked up too early

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue May 11 18:56:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-10 20:00 -------
Note ICC 6.0 in strict mode (-Xc -ansi) rejects the testcase in PR15367 with:
pr11828.cc
pr11828.cc(6): error: no instance of overloaded function "f" matches the argument list
            argument types are: (A)
    ::f (t);
    ^
          detected during instantiation of "void g(T) [with T=A]"

compilation aborted for pr11828.cc (code 2)

-- 


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



More information about the Gcc-bugs mailing list