This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11828] [3.4/3.5 regression] qualified dependent name looked up too early
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2004 20:00:07 -0000
- Subject: [Bug c++/11828] [3.4/3.5 regression] qualified dependent name looked up too early
- References: <20030806091852.11828.benko@sztaki.hu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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