------- Comment #3 from rguenth at gcc dot gnu dot org  2007-03-06 10:42 -------
No, this is a bug, 2nd stage name-lookup should find foo(const int&) as var is
dependent on the template parameter T (14.6/8, /9).
But I bet we have a dup for this.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
           Keywords|                            |wrong-code


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

Reply via email to