#include <iostream>
namespace test1 // Namespace
{
typedef char uint8;
}
namespace test2 // Namespace
{
typedef unsigned char uint8;
};
using namespace std;
using namespace test1;
using namespace test2;
int main(int argc, char* argv[])
{
// uint8 data; // Ambiguous error
test1::uint8 data1;
test2::uint8 data2;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKbmFtZXNwYWNlIHRlc3QxCQkJCQkJLy8gTmFtZXNwYWNlCnsKCXR5cGVkZWYgY2hhciB1aW50ODsKfQoKbmFtZXNwYWNlIHRlc3QyCQkJCQkJLy8gTmFtZXNwYWNlCnsKCXR5cGVkZWYgdW5zaWduZWQgY2hhciB1aW50ODsKfTsKCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CnVzaW5nIG5hbWVzcGFjZSB0ZXN0MTsKdXNpbmcgbmFtZXNwYWNlIHRlc3QyOwoKaW50IG1haW4oaW50IGFyZ2MsIGNoYXIqIGFyZ3ZbXSkKewoJLy8gdWludDggZGF0YTsJCQkJCQkvLyBBbWJpZ3VvdXMgZXJyb3IKCXRlc3QxOjp1aW50OCBkYXRhMTsKCXRlc3QyOjp1aW50OCBkYXRhMjsKCXJldHVybiAwOwp9