[cfe-commits] [commit-after-approval] fix unqualified lookup XFAIL

Douglas Gregor dgregor at apple.com
Thu Jul 23 14:18:47 PDT 2009


On Jul 23, 2009, at 11:04 AM, Ryan Flynn wrote:

> will commit after approval

Whoops, this looks like the wrong fix. p14.cpp is well-formed (both  
EDG and G++ accept the code), because i is looked up in namespace N.  
The bug here is in our name lookup: for some reason, it's finding both  
the "i" in namespace N and the "i" in the global namespace, although  
it should only find the first one.

	- Doug



More information about the cfe-commits mailing list