summaryrefslogtreecommitdiff
path: root/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp
blob: 4cb91cdf0021fd7ee72c81b1b057a980ab49697f (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -fsyntax-only -verify %s

// <rdar://problem/8296180>
typedef int pid_t;
namespace ns {
  typedef int pid_t;
}
using namespace ns;
pid_t x;

struct A { };
namespace ns {
  typedef ::A A;
}
A a;