Home | History | Annotate | Download | only in namespace.udir
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 // <rdar://problem/8296180>
      5 typedef int pid_t;
      6 namespace ns {
      7   typedef int pid_t;
      8 }
      9 using namespace ns;
     10 pid_t x;
     11 
     12 struct A { };
     13 namespace ns {
     14   typedef ::A A;
     15 }
     16 A a;
     17