p6.cpp revision 7f1c547ee6cd413845f7df9713c701f99866f91d
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3// <rdar://problem/8296180>
4typedef int pid_t;
5namespace ns {
6  typedef int pid_t;
7}
8using namespace ns;
9pid_t x;
10
11struct A { };
12namespace ns {
13  typedef ::A A;
14}
15A a;
16