Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / dcl.dcl / basic.namespace / namespace.udir / p6.cpp
blob6879cbf63bac8b16baf1b57b0cca61a4084795b5
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 typedef int pid_t;
5 namespace ns {
6 typedef int pid_t;
8 using namespace ns;
9 pid_t x;
11 struct A { };
12 namespace ns {
13 typedef ::A A;
15 A a;