forked from OSchip/llvm-project
Disambiguate the name lookup for the data type of anon_uint variable.
llvm-svn: 119353
This commit is contained in:
parent
637049515f
commit
7826b0a721
|
@ -8,7 +8,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
typedef unsigned int uint_t;
|
typedef unsigned int my_uint_t;
|
||||||
int i; // Find the line number for anonymous namespace variable i.
|
int i; // Find the line number for anonymous namespace variable i.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ namespace A {
|
||||||
|
|
||||||
int Foo::myfunc(int a)
|
int Foo::myfunc(int a)
|
||||||
{
|
{
|
||||||
::uint_t anon_uint = 0;
|
::my_uint_t anon_uint = 0;
|
||||||
A::uint_t a_uint = 1;
|
A::uint_t a_uint = 1;
|
||||||
B::uint_t b_uint = 2;
|
B::uint_t b_uint = 2;
|
||||||
Y::uint_t y_uint = 3;
|
Y::uint_t y_uint = 3;
|
||||||
|
|
Loading…
Reference in New Issue