[cfe-commits] r67925 - in /cfe/trunk: lib/Sema/SemaDeclCXX.cpp test/SemaCXX/namespace-alias.cpp
Anders Carlsson
andersca at mac.com
Sat Mar 28 00:49:14 PDT 2009
27 mar 2009 kl. 23.56 skrev Eli Friedman:
> On Fri, Mar 27, 2009 at 11:42 PM, Anders Carlsson <andersca at mac.com>
> wrote:
>> + // FIXME: Can the result of a namespace lookup ever be ambiguous?
>
> Something like the following?
>
> namespace a { namespace b { int x; } }
> namespace b { int x; }
> using namespace a;
> namespace d = b;
>
> -Eli
Yes! I'll use that in a test.
Thanks,
Anders
More information about the cfe-commits
mailing list